Interface LoggingConfig
- All Superinterfaces:
Config
Deprecated.
Additional log configuration options.
Diffusion uses the Log4j2 library. Most log configuration options can be found in etc/log4j2.xml.
- Since:
- 4.4
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.since 6.9Deprecated.since 6.9void
setConsoleMonitoredLog
(String path) Deprecated.since 6.9void
setDefaultLogDirectory
(String directory) Deprecated.since 6.9
-
Method Details
-
setDefaultLogDirectory
Deprecated.since 6.9Sets the default log directory path.The directory is used for the daily ConnectionCount statistics file and multiplexer diagnostic files, and is used to resolve the
console-monitored log file
.If not set, the default path is "logs".
If the path is relative, it is evaluated relative to the Diffusion installation directory.
- Parameters:
directory
- the default log directory- Throws:
ConfigException
- if unable to set the property
-
getDefaultLogDirectory
Deprecated.since 6.9Gets the default log directory.- Returns:
- default log directory
-
setConsoleMonitoredLog
Deprecated.since 6.9Sets the console monitored log path.Specifies the log file made available to the Diffusion management console. This should be configured to match etc/log4j2.xml.
If not set, the default path is "Server.log".
If the path is relative, it is evaluated relative to the
default log directory
.- Parameters:
path
- the console monitored log path- Throws:
ConfigException
- if unable to set the property- Since:
- 6.4
-
getConsoleMonitoredLog
Deprecated.since 6.9Gets the console monitored log path.- Returns:
- console monitored log path
- Since:
- 6.4
-
use
ServerConfig