Log4j properties files
This is a list of properties that you can modify in the impactserver.log4j.properties and impactgui.log4j.properties properties files to change the default logging behavior.
To change the file permissions size of the Impact server and GUI log files, set these properties in the both the $IMPACT_HOME/etc/impactgui.log4j.properties and $IMPACT_HOME/etc/impactserver.log4j.properties files:
appender.rolling.filePermissions=
appender.rollingerror.filePermissions=
Where <file permission string>
is a 9 character POSIX compatible string (for
example: "rwxrw-r--"
) as per
https://docs.oracle.com/javase/8/docs/api/java/nio/file/attribute/PosixFilePermissions.html.
The first 3 characters represent the read (r
), write (w
), and
execute (x
) permission for the file owner.
The next 3 characters represent the read (r
), write (w
), and
execute (x
) permission for the file owner's group.
The last 3 characters represent the read (r
), write (w
), and
execute (x
) permission for everyone.
For example, to set log file permissions, use:
appender.rolling.filePermissions=rw-rw-rw-
appender.rollingerror.filePermissions=rw-rw-rw-
Property |
Description |
---|---|
|
Specifies the path to the log file. Default is |
|
Specifies the filename of the log file. Default is |
|
Specifies the log level filter. All messages up to this severity level will be filtered for
logging. Default value is |
|
Specifies the path and filename of the log file, using the filepath and filename properties
above. Default is |
|
Specifies the pattern in the logging. Default is |
|
Specifies the maximum size of log files. Default is |
|
Specifies the maximum number of backup files. Default is |
|
Specifies the path and filename of the error log file, using the filepath and filename properties
above. Default is |
|
Specifies the pattern in the logging. Default is |
|
Specifies the maximum size of error log files. Default is |
|
Specifies the maximum number of backup files. Default is |
|
Specifies the log level. Default is |
|
Specifies the log level for the |
|
Specifies the log level for the |
|
This is the default root logging level. Default is |