Open topic with navigation

# Customize Logging

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.

CFS supports the following log message types:

`Action` | Logs actions and related messages.
`Application` | Logs application-related messages.
`Import` | Logs information about the import process. Using FULL logging for the import log stream can reduce performance.
`Indexer` | Logs the status of indexing into IDOL.

To set up log streams

1. Open the CFS configuration file in a text editor.
2. Find the `[Logging]` section. If the configuration file does not contain a `[Logging]` section, create it.

3. 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]
       LogDirectory=logs
       0=ApplicationLogStream
       1=ActionLogStream

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 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]
       logfile=application.log
       logtypecsvs=application
       loglevel=full
       loghistorysize=50
       logtime=true
       logecho=false
       logmaxsizekbs=1024

       [ActionLogStream]
       logfile=logs/action.log
       logtypecsvs=action
       loglevel=full
       loghistorysize=50
       logtime=true
       logecho=false
       logmaxsizekbs=1024

6. Save and close the configuration file.
7. Restart CFS for your changes to take effect. For information about how to start and stop CFS, see Start and Stop HPE Connector Framework Server.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm