WildFly Logging Subsystem CLI Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


* [[WildFly_Logging_Subsystem_Configuration#WildFly_Logging_Subsystem_Configuratio|WildFly Logging Subsystem Configuration]]
* [[WildFly_Logging_Subsystem_Configuration#WildFly_Logging_Subsystem_Configuratio|WildFly Logging Subsystem Configuration]]
=a=


=Adding a Periodic Rotating File Log Handler=
=Adding a Periodic Rotating File Log Handler=

Revision as of 03:29, 16 November 2016

Internal

a

Adding a Periodic Rotating File Log Handler

/subsystem=logging/periodic-rotating-file-handler=HANDLER:add(file={"path"=>"PATH", "relative-to"=>"DIR"}, suffix="SUFFIX") 

System properties can be specified without "${}"

For general considerations on adding an arbitrary management model node, see:

Adding a Management Node

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:

Removing a Management Model Node