Setting up the station spy

As an alternative to using the station’s DebugService to tune station log output, you can use the station spy HTML interface for log setup.

You are running Workbench, are connected to a platform and to its running station.
  1. Double-click the running station in the Nav tree.
    Its Station Summary view opens.

  2. Click the logSetup link.
    A table of the log setup processes and configuration options opens in the main view. Each process shows its current log level, and starts with a (new) DEFAULT level. The following are the updated properties:
    • Level selection columns are ordered left-to-right in increasing order of message volume.

    • The number of severity levels is nine (9) in N4.

    • The log levels persist each time you click to set or clear a check box, saved in the host’s ~/logging/logging.properties file. There is no separate Save To File in N4.0.

    • The level given to the top DEFAULT row is global to any row with the far-right DEFAULT box set.

The following figure shows the top of the spy logSetup page after the DEFAULT level has been changed from INFO to WARNING, and then the weather process set to the non-default level FINE.

Callouts in the figure above show:

  1. Last change made, reflected in this status line area (Changed weather log to level ‘FINE’.)

  2. The DEFAULT log level, which in this case has been set to WARNING. Note this log level now applies to all rows where one of the 9 non-default levels (OFF to ALL) has not been set.

    Increasing station output by assigning various log levels above INFO consumes extra station resources and may exact a performance penalty! After troubleshooting, always return log levels to default values.

    You can also easily review, and if necessary, adjust log levels from the station’s