Managing cloud log levels

Magnolia Cloud integrates with Datadog for monitoring and logging services.

This page explains where you can change the level of logs displayed for your Magnolia cloud instance and add loggers in the cockpit.

If you want to access Magnolia cloud instance logs and integrate them with other external tools, use the REST API logs endpoint.

The log displayed is the catalina.out log.

Setting log levels

To change the log levels for your running instances:

  1. In the Package overview page, click Manage environments in the Environments section.

  2. Click Log levels.

    cockpit log levels

  3. Select the instance for which you want to change log levels in the Log levels for dropdown.

    image

  4. Select the required log level for each logger using the drop-downs on each line.

    The levels available are standard Log4J log levels: ALL; TRACE; DEBUG; INFO; WARN; ERROR; FATAL; OFF.

    Any change you make in the loggers is applied immediately to the instance you selected. You can see this by logging into the instance inquestion and looking in Tools > Log Tools app > Log Levels tab.

    If the Log Tools app is open when you change the log levels in the Cockpit, you must close the app and open it again to see your changes reflected.

    When the instance is restarted, the logs are set back to their default levels.

Adding loggers

To add a logger for your running instances:

  1. In the Package overview page, click Manage environments in the Environments section.

  2. Click Log levels.

  3. Select the instance for which you want to add a logger in the Log levels for dropdown.

  4. Type in the name of the logger you want to add in the field at the bottom of the list.

  5. Select the required log level for the new logger.

    The levels available are standard Log4J log levels: ALL; TRACE; DEBUG; INFO; WARN; ERROR; FATAL; OFF.

    Any change you make in the loggers is applied immediately to the instance you selected. You can see this by logging into the instance in question and looking in Tools > Log Tools app > Log Levels tab.

Feedback

Legacy Cloud

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Magnolia Cloud docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules