Docs
On this page
task2 min readApplication: Platform

Set log levels and read system logs

Change the log level of a logger while you investigate a problem, and find its messages in the system log records.

Change a log level when you investigate a script, an integration or a platform service and need more detail, or less noise. This task is for administrators and developers.

Before you begin

  • You need the administrator role.
  • Switch to the Administration workspace with the Workspace selector at the foot of the menu.
  • Know the logger name. For a script, it is the name passed to Logger(). See Logger. For a platform service, it is usually the full class name.

Steps

  1. Go to System & deployment → Logs → System log level.

    The System log level item in the System & deployment menu.
  2. Select New.

    The empty Create System log level form, with Source, Client logger and Level.
  3. In Source, enter the logger name.

  4. Set Client logger.

    Value Meaning
    Yes The source is a name that a script passes to Logger(). Its messages are recorded in the system log records.
    No The source is a server logger, such as a platform service named by its class. Its messages go to the server log, which Servicely Support reads for you. No is the default.
  5. In Level, select the least severe level to record, and select Create.

    Value Meaning
    Error Records errors only.
    Warn Records potential problems, and errors.
    Info Records progress messages, and every more severe level.
    Debug Records debugging detail, and every more severe level.
    Trace Records the most detailed diagnostics, and every more severe level.
  6. Reproduce the problem.

  7. Go to System & deployment → Logs → System log records.

  8. Filter the list on Source to find the logger’s messages.

    The System log record list filtered to the source DefaultLogger, with Date, Source, Level and Message.
  9. When you finish, open the system log level record again and select a less detailed Level. Trace and Debug write many records.

Result

The logger records messages at the level you chose and at every more severe level. Each record in the list shows its Date, Source, Level, Message, Created by and Transaction. The default “System log record cleanup” record deletes system log records after 7 days.

Options

To Do this
See records at the Trace level The System log records menu item opens the list with a filter that leaves them out. Remove the filter.
See how many records each log holds Go to System & deployment → Logs → System logs.
Find what a scheduled job wrote Filter System log records on the Source DefaultLogger. A message a job script writes with log.info() is recorded there.
Last updated 3 December 2026commit 8d233372fa05Chris Jones
Back to top