Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WADMINPAS and version 23.1

In the administration application you have the possibility to change the log level for a Docker container. The functionality is currently available for the following service types:

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamechange_docker_log_level_icon
PageWithExcerptINTERNAL:_admin_portal_excerpts

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamechange_docker_log_level_details
PageWithExcerptINTERNAL:_admin_portal_excerpts

Changing the log level varies for the different service types. The details are explained below.

Log Level for Service Type pas-nestjs

On the details page of a pas-nestjs service, scroll down to section Logs and expand the section.

Image Removed

If you open the pop-up window via the quick action icon, you have the same options for the Configuration of the logs:

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamechange_nestjs_log_level_1
PageWithExcerptINTERNAL:_admin_portal_excerpts

Image Added

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamechange_nestjs_log_level_2
PageWithExcerptINTERNAL:_admin_portal_excerpts

Image Added

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamechange_nestjs_log_level_3
PageWithExcerptINTERNAL:_admin_portal_excerpts


Image Added

Image Removed

Global

In the global configuration, you set the log level for all sinks.

Available log levels are:

  • verbose
  • trace
  • debug
  • info
  • warn
  • error

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptName
    reset
    change_nestjs_log_level_4
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    Image Removed

    • Save your changes to apply them to the service.
    • Use button Reset to return to the default value. In most cases this is info.
    • If you opened the pop-up window by using the icon in the service list, you have also a Cancel button. Click Cancel to discard your changes and to close the pop-up window.

    Image Removed

    Custom

    The Custom tab allows a fine grained setting of the log level.

    For each channel, you can set the log level for the different sinks :

    • Console
    • OpenSearch

    Use the Filter to show only the channels you are looking for.

    Image Added
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamechange_nestjs_log_level_5
    PageWithExcerptINTERNAL:_admin_portal_excerpts
    Image Added
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamechange_nestjs_log_level_6
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    Image Removed

    In the Custom tab, button Save will only be enabled when at least one of the entries has been changed.

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNameopen_log_analyzer_via_link
    PageWithExcerptINTERNAL:_admin_portal_excerpts
    Image ModifiedThe Log Analyzer will open, showing you the corresponding logs.
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamelog_analyzer_opens
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamereference_log_analyzer
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    Log Level for Service Type pas-service


    On the details page of a pas-service, scroll down to section Logs and expand the section.

    The Logs section also informs you if there are no logs available for this type of service.

    If you open the pop-up window via the quick action icon, you have the same options to change the log level. Open the drop-down list to select one of the available log levels:

    • TRACE
    • DEBUG
    • INFO
    • WARN
    • ERROR
    • FATAL
    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamereset_log_level
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    The chosen log level is kept after a restart of the service.

    If after a restart of the service you want to return to the previously used log level, disable option Keep after Restart.

    • Save your changes to apply them to the service.
    • Click the Reset button to return to the default settings.
    • If you opened the pop-up window by useing the icon in the service list, you have also a Cancel button. Click Cancel to to discard your changes and to close the pop-up window.

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNameopen_log_analyzer_via_link
    PageWithExcerptINTERNAL:_admin_portal_excerpts

    The Log Analyzer will open, showing you the corresponding logs.

    Multiexcerpt include
    SpaceWithExcerptINTERNAL
    MultiExcerptNamereference_log_analyzer
    PageWithExcerptINTERNAL:_admin_portal_excerpts