Getting Started > Configure Oracle Connector (CFS) > Set Up Log Streams

Set Up Log Streams
If the default logging does not suit your environment, you can set up your own log streams. Each log stream creates a separate log file in which specific log message types (for example, action, index, application, or import) are logged.
 
NOTE The individual connector determines the log streams that can be set up for it. Not all log streams listed below are appropriate for all connectors.
To set up log streams
1.
2.
Find the [Logging] section. (If the configuration file does not contain a [Logging] section, create one.)
3.
Under the [Logging] section's heading, create a list of the log streams you want to set up using the format N=LogStreamName. For example:
[Logging]
LogLevel=FULL
LogDirectory=logs
0=ApplicationLogStream
1=ActionLogStream
Note the log streams are listed in consecutive order, starting from 0 (zero).
4.
Create a new section for each of the log streams you defined. Each section must have the same name as the log stream. For example:
[ApplicationLogStream]
[ActionLogStream]
5.
Specify the settings you want to apply to each log stream in the appropriate log stream's section. You can specify the type of logging that should be performed (for example, full logging), whether log messages should be displayed on the console, the maximum size of log files, and so on. For example:
[ApplicationLogStream]
logfile=application.log
loghistorysize=50
logtime=true
logecho=false
logmaxsizekbs=1024
logtypecsvs=application
loglevel=full
[ActionLogStream]
logfile=logs/action.log
loghistorysize=50
logtime=true
logecho=false
logmaxsizekbs=1024
logtypecsvs=action
loglevel=full
6.
7.
 
 
Related Topics 
*