Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
2.5.4. File Log Handler Properties
| Property | Datatype | Description |
|---|---|---|
| level | string |
The maximum level of log message the log handler records.
|
| encoding | string |
The character encoding scheme to be used for the output.
|
| formatter | string |
The log formatter used by this log handler.
|
| append | boolean |
If set to true then all messages written by this handler will be appended to the file if it already exists. If set to false a new file will be created each time the application server launches. Changes to
append require a server reboot to take effect.
|
| autoflush | boolean |
If set to true the log messages will be sent to the handlers assigned file immediately upon receipt. Changes to
autoflush require a server reboot to take effect.
|
| name | string |
The unique identifier for this log handler.
|
| file | object |
The object that represents the file where the output of this log handler is written to. It has two configuration properties,
relative-to and path.
|
| relative-to | string |
This is a property of the file object and is the directory where the log file is written to. JBoss Enterprise Application Platform 6 file path variables can be specified here. The
jboss.server.log.dir variable points to the log/ directory of the server.
|
| path | string |
This is a property of the file object and is the name of the file where the log messages will be written. It is a relative path name that is appended to the value of the
relative-to property to determine the complete path.
|