Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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

    • timestampIncludes 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

    Published: 2014-08-14