WildFly Logging Subsystem CLI Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 11: Line 11:
System properties can be specified without "${}"
System properties can be specified without "${}"


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


<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[Add|Adding a Management Node]]
:[[Add|Adding a Management Node]]
</blockquote>
For general considerations on adding an arbitrary attributes see:
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[Write-attribute|Adding or Updating an Attribute]]
:[[Write-attribute|Adding or Updating an Attribute]]
</blockquote>
</blockquote>

Revision as of 04:23, 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") 

System properties can be specified without "${}"

For general considerations on adding arbitrary management nodes and attributes see:

Adding a Management Node
Adding or Updating an Attribute

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