WildFly Logging Subsystem CLI Configuration

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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

For general considerations on removing an arbitrary management model node:

Removing a Management Model Node