Logo
  • User Guide
  • Administrator Guide
  • Developer Guide
    • Making DIRAC releases
    • Development Model
    • Developing in DIRAC: the Development Environment
    • Architecture overview
    • Coding Conventions
    • Developing DIRAC components
      • Check your installation
      • Your first DIRAC code
      • Developing Services
      • Testing a service while developing it
      • Developing Databases
      • Testing a DB while developing it
      • Developing Agents
      • Testing an agent while developing it
      • Developing Executors
      • Developing Commands
      • DIRAC Utilities
        • DIRAC CS Helpers
        • Handling errors within DIRAC
        • DIRAC gLogger
      • DIRAC Resources
    • Documenting your developments
    • Testing (VO)DIRAC
    • Developer Guides for DIRAC Systems
    • REST Interface
    • WebAppDIRAC
    • How DIRAC works underneath
    • External Libraries and Dependencies
    • HTTPS Services with Tornado
    • Systems APIs
    • OAuth2 authorization
  • Code Documentation (8.0.75.dev0+g83762a6.d20250509)
DIRAC
  • Developer Guide
  • Developing DIRAC components
  • DIRAC Utilities
  • DIRAC gLogger
  • gLogger
  • View page source

gLogger

gLogger is the logging solution within DIRAC. Based on the python logging library, it represents an interface to create and send informational, warn or error messages from the middleware to different outputs. In this documentation, we will focus on the functionalities proposed by gLogger.

  • Basics
    • Get a child Logging object
    • Send a log record
    • Control the Logging level
    • Modify the log record display
    • Send a log record in different outputs
    • Some examples and summaries
    • About multiple processes and threads
    • About the use of external libraries
    • Filter
    • Advanced part
  • Advanced use
    • Get a children tree
    • Set a child level
    • Add a Backend object on a child Logging
    • Modify a display for different Logging objects
    • Add variables to different Logging objects depending on the context
    • Some examples and summaries
Previous Next

© Copyright 2025, DIRAC Project. Last updated on 09/05/2025.

Built with Sphinx using a theme provided by Read the Docs.