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 SummaryModifier and TypeMethodDescriptionDeprecated.since 6.9Deprecated.since 6.9voidsetConsoleMonitoredLog(String path) Deprecated.since 6.9voidsetDefaultLogDirectory(String directory) Deprecated.since 6.9
- 
Method Details- 
setDefaultLogDirectoryDeprecated.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
 
- 
getDefaultLogDirectoryDeprecated.since 6.9Gets the default log directory.- Returns:
- default log directory
 
- 
setConsoleMonitoredLogDeprecated.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
 
- 
getConsoleMonitoredLogDeprecated.since 6.9Gets the console monitored log path.- Returns:
- console monitored log path
- Since:
- 6.4
 
 
- 
use
ServerConfig