You can customize logging by setting up your own log streams. Each log stream creates a separate log file in which specific types of message are logged.
To set up log streams
[Logging]
section. If the configuration file does not contain a [Logging]
section, create it.In the [Logging]
section, create a list of the log streams you want to set up using the format N=LogStreamName
. List the log streams in consecutive order, starting from 0 (zero). For example:
[Logging] LogLevel=NORMAL 0=ApplicationLogStream 1=ActionLogStream 2=ImportLogStream 3=IndexLogStream
You can also use the [Logging]
section to configure any default values for logging configuration parameters, such as LogLevel
. For more information, refer to the Connector Framework Server Reference.
Create a new section for each of the log streams. Each section must have the same name as the log stream. For example:
[ApplicationLogStream] [ActionLogStream] ...
Specify the settings for each log stream in the appropriate section. You can specify the type of logging to perform (for example, full logging), the maximum size of log files, and so on. For example:
[ApplicationLogStream] LogTypeCSVs=application LogFile=application.log LogHistorySize=50 LogTime=True LogEcho=False LogMaxSizeKBs=1024 [ActionLogStream] LogTypeCSVs=action LogFile=action.log LogHistorySize=50 LogTime=true LogEcho=false LogMaxSizeKBs=1024
|