SOT
    • Introduction
    • User manual
      • Basic operation
        • Create and delete a device as a favorite
        • Use the filter function
      • Process
        • Compare processes
        • Change axes in the diagram
        • Show and hide axis in the diagram
        • Show special values
        • Display measured values in the diagram
        • Display process data in the diagram
        • Displaying diagram content
        • Permanently highlight a process curve
        • Temporarily highlight a process curve
        • Monitoring processes
        • Configure columns
        • Export process data
    • Operations manual
      • Overview
      • System architecture and interfaces
      • System requirements
        • trinity/static-content
        • trinity/trinity-core-service
        • trinity/trinity-gateway-service
      • Migration from previous versions
        • Influx database migration
        • Deletion of an old CPM installation
      • Setup and configuration
        • AI add-on: Process Intelligence
        • Database configuration
        • Port configuration
        • HELM configuration
        • Application account roles provided
        • Relational database
        • General logging
        • General OpenTelemetry
        • trinity/static-content
        • trinity/trinity-core-service
        • trinity/trinity-gateway-service
      • Start and shutdown
      • Regular operations
      • Failure handling
        • Processes are not received
        • Module is not visible in the Web Portal
        • How to verify if the broker is out of sync
        • Devices are missing
      • Backup and restore
      • Logging and monitoring
        • Observability
        • Logging characteristics
        • Logging format
        • Logging level
        • Required monitoring
        • Request-based logging format
        • Security logging format
        • Lifecycle logging format
        • Health verification endpoints
      • Known limitations
    • API documentation
Process Quality
  • Smart Operations Toolkit
    • Deviation Processor
    • Multitenant Access Control
    • Notification Service
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Process Quality
    • AI Services
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
  • Enterprise & Shopfloor Integration
    • Information Router
    • Master Data Management

SOT Learning Portal

  • Process Quality
  • Operations manual
  • Logging and monitoring
  • Logging level

Log level guidelines

Preliminary Remark:
Logging can be configured during setup and configuration phase, see General logging

TRACE - Anything at statement level like "start to calculate something", "query something", "loop x of y", etc…​ is logged at TRACE level.

DEBUG - Anything at method or request processing level e.g.

  • "method entered" or "return with ----" is logged at DEBUG level

  • "HTTP GET /someresource took 5 seconds status 200" but also 4xy statuses

INFO - In the following cases the information is logged at INFO level, e.g.

  • Process life cycle messages, like

    • application started

    • application ready

    • shutdown application

  • Administrative events, like

    • (re)load or flush caches

    • (re)load configuration

    • database migrations

WARN - Uncommon behaviour or situations, e.g.

  • unavailability of services

  • security related events (potentially malicious)

  • handled failures which prevent the application to work normally as long as the application is able to recover automatically

ERROR - Anything which potentially leads to unexpected behaviour or crashes, e.g.

  • unhandled failures

  • implementation failures

Examples

One Line Formatted LIFE-CYCLE Log Example
{"timestamp":"2017-08-01T07:48:09.916Z","environment":"AZURE","system":"PROD","product":"nexeed-pqm","application":"trinity-core-service","version":"1.0.1","instance":"3ae26cd4-7014-11e9-a923-1681be663d3e","thread":"thread-1","logger":"LIFE-CYCLE","loglevel":"INFO","status":"INITIALIZATION","message":"initialize masterdata cache"}
Pretty Printed LIFE-CYCLE Log Example
{
    "timestamp":    "2017-08-01T07:48:09.916Z",
    "environment":  "AZURE",
    "system":       "PROD",
    "product":      "nexeed-pqm",
    "application":  "trinity-core-service",
    "version":      "3.0.1",
    "instance":     "3ae26cd4-7014-11e9-a923-1681be663d3e",
    "thread":       "thread-1",
    "logger":       "LIFE-CYCLE",
    "loglevel":     "INFO",
    "status":       "INITIALIZATION",
    "message":      "initialize masterdata cache"
}

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2026, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses