Manage the switch log, console log, and command log

The switch generates messages in response to events, faults, and errors as well as changes in the configuration or other occurrences. These messages are stored locally and can be forwarded to one or more centralized points of collection for monitoring purposes or long-term archival storage. Local and remote configuration of the logging capability includes filtering of messages logged or forwarded based on severity and generating component.

To configure a syslog server and set up remote logging, use the main UI or the CLI. For more information, see the main user manual or the CLI command reference manual, both of which you can download by visiting netgear.com/support/download.

By default, the switch log is enabled at the Notice logging level but the console log and command log are disabled.

To manage the switch log, console log, and command log that are stored locally:

  1. Launch a web browser.
  2. In the address field of your web browser, enter the IP address of the switch.
    The login page displays.
    Note: The default web browser protocol is HTTPS. Do not use HTTP to access the AV UI.
  3. In the Login Name field, enter admin as the user name, in the Password field, enter your local device password, and click the AV UI Login button.

    The first time that you log in, no password is required. However, you then must specify a local device password to use each subsequent time that you log in.

    The password must be 8 to 64 characters in length and must contain at least one uppercase letter, one lowercase letter, and one number. The following special characters are allowed: ! @ # $ % ^ & * ( ).

    To display the password, click the eye icon.

    The Overview page displays.

  4. Select Diagnostics > Logs.
    The Logs page displays.
  5. In the Log Settings section enable or disable logs by doing the following for each individual log:
    • Enable one or more logs: Click the Switch Logging button, Console Logging button, Command Logging button, or a combination of these buttons so that they turn green.
    • Disable one or more logs: Click the Switch Logging button, Console Logging button, Command Logging button, or a combination of these buttons so that they turn gray.

    By default, the switch log is enabled but the console log and command log are disabled.

  6. For the switch log and the console log individually, in the Log Settings section, select the logging level from the Switch Logging Level menu or the Console Logging Level menu:
    • Emergency: Level 0, the system is unusable.
    • Alert: Level 1, action must be taken immediately.
    • Critical: Level 2, critical conditions.
    • Error: Level 3, error conditions. If you enable console logging, this is the default level.
    • Warning: Level 4, warning conditions.
    • Notice: Level 5, normal but significant conditions. This is the default level for switch logging.
    • Informational: Level 6, informational messages.
    • Debug: Level 7, debug-level messages.
    Note: A log records messages equal to or above the selected severity level. For example, if you select the Warning level from the menu, the switch records messages at the Warning, Error, Critical, Alert, and Emergency levels.
  7. Click the Apply button.

    Your settings are saved.

  8. To save the settings to the running configuration, at the top of the page, click the Save icon or text.