WildFly Logging Subsystem CLI Configuration: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
/subsystem=logging/file-handler=INFINISPAN:remove | /subsystem=logging/file-handler=INFINISPAN:remove | ||
</pre> | </pre> | ||
A log handler can only be removed if it is not being referenced by a log category or an async log handler. No restart is required. | |||
For general considerations on removing an arbitrary management model node: | For general considerations on removing an arbitrary management model node: |
Revision as of 03:11, 16 November 2016
Internal
Adding a Periodic Rotating File Log Handler
/subsystem=logging/periodic-rotating-file-handler=HANDLER:add(file={"path"=>"PATH", "relative-to"=>"DIR"}, suffix="SUFFIX")
Removing a Log Handler
/subsystem=logging/file-handler=INFINISPAN:remove
A log handler can only be removed if it is not being referenced by a log category or an async log handler. No restart is required.
For general considerations on removing an arbitrary management model node: