Package com.tccc.kos.core.service.log
Class LogServer
java.lang.Object
com.tccc.kos.commons.util.ready.ReadyBean
com.tccc.kos.commons.core.service.AbstractService
com.tccc.kos.core.service.log.LogServer
- All Implemented Interfaces:
CtxEventListener
,ContextHandleAware
,HandleAware
,Ready
,ReadyAndReadyListener
,ReadyListener
Log server that provides access to log override functionality as well as fetching log
data from various nodes in the device as well as log streaming.
- Version:
- 2025-02-13
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
active
(LogExporter exporter) Called to indicate that an exporter is now active.void
rotateStream
(String name) Rotate the specified log stream on all nodes.void
Rotate all log streams on all nodes.Methods inherited from class com.tccc.kos.commons.core.service.AbstractService
getHandle, getHandlePrefix
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.tccc.kos.commons.core.context.CtxEventListener
onCtxAutowiringCompleted, onCtxDestroyed, onCtxPhaseCompleted
Methods inherited from interface com.tccc.kos.commons.core.service.handle.HandleAware
addHandleChild, getName, getPath
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyAndReadyListener
onBeanReady, onDependenciesReady
Methods inherited from interface com.tccc.kos.commons.util.ready.ReadyListener
onDependenciesGroupReady
-
Field Details
-
TOPIC_OVERRIDE_ADD
- See Also:
-
TOPIC_OVERRIDE_REMOVE
- See Also:
-
-
Method Details
-
active
Called to indicate that an exporter is now active. This is entirely optional but can be used to avoid waiting for retry timeouts when an exporter becomes active. -
rotateStream
Rotate the specified log stream on all nodes. -
rotateStreams
public void rotateStreams()Rotate all log streams on all nodes. -
getBroker
-