Class LogService

All Implemented Interfaces:
CtxEventListener, ContextHandleAware, HandleAware, Ready, ReadyListener

public class LogService extends AbstractService
Service that abstracts the adding and removing of log level overrides. Additionally, applies overrides early in the boot cycle enabling proper log capture at the specified levels from application startup.
Version:
2025-02-13
  • Constructor Details

    • LogService

      public LogService()
  • Method Details

    • addOverride

      public void addOverride(LogOverride override)
      Add a log override. The override may not be in effect by the time this returns as this may need to synchronize with the primary node.
      Parameters:
      override - the override to apply
    • removeOverride

      public void removeOverride(LogOverride override)
      Remove a log override. The override may not be removed by the time this returns as this may need to synchronize with the primary node.
      Parameters:
      override - the override to remove