[Contents] [Prev] [Next] [Index] [Report an Error]

## Configuration Statements for Component Logging

Use the following configuration statements to configure logging for SRC components. You access these statements from the hierarchy for a component, such as:

- [edit shared acp configuration]
- [edit shared sae configuration]
- [edit shared nic scenario scenario-name ]
- [edit snmp agent]
- [edit slot 0 jps]
  `
  logger name {
    file-logger {
      filter filter ;
      filename filename ;
      rollover-filename rollover-filename ;
      maximum-file-size maximum-file-size ;
    }
    syslog-logger {
      filter filter ;
      syslog-host syslog-host ;
      syslog-facility syslog-facility ;
      format format ;
    }
  }
  `

#### Related Topics

- For detailed information about each configuration statement, see SRC PE CLI Command Reference.
- Configuring System Logging (SRC CLI)
- Configuring a Component to Store Log Messages in a File (SRC CLI)
- Before You Configure Logging
- Overview of Logging for SRC Components

[Contents] [Prev] [Next] [Index] [Report an Error]