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

# log fields

#### Syntax

log fields { timestamp | no-timestamp } { instance | no-instance }
{ calling-task | no-calling-task }

no log fields

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Selects optional fields to be added to all logs. The no version disables the optional log fields.

#### Options

- timestamp—Includes the timestamp in log messages
- no-timestamp—Does not include the timestamp in log messages
- instance—Includes the event ID in log messages
- no-instance—Does not include the event ID in log messages
- calling-task—Includes the logging task name in log messages
- no-calling-task—Does not include the logging task name in log messages

#### Mode

Global Configuration

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