use
ServerConfig
@Deprecated public interface LoggingConfig extends Config
Diffusion uses the Log4j2 library. Most log configuration options can be found in etc/log4j2.xml.
Modifier and Type | Method and Description |
---|---|
String |
getConsoleMonitoredLog()
Deprecated.
since 6.9
|
String |
getDefaultLogDirectory()
Deprecated.
since 6.9
|
void |
setConsoleMonitoredLog(String path)
Deprecated.
since 6.9
|
void |
setDefaultLogDirectory(String directory)
Deprecated.
since 6.9
|
@Deprecated void setDefaultLogDirectory(String directory) throws ConfigException
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.
directory
- the default log directoryConfigException
- if unable to set the property@Deprecated String getDefaultLogDirectory()
@Deprecated void setConsoleMonitoredLog(String path) throws ConfigException
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
.
path
- the console monitored log pathConfigException
- if unable to set the property@Deprecated String getConsoleMonitoredLog()
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.