Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Logging technology
  • Logging implementation
  • Notification Channel
  • Central LoggerNotification Channel
  • *ACS Log Service

* The ACS Log Service is only used by the Python logging implementation, but it could be used by any ACS / CORBA application.

...

The logging implementation is the programming language specific code to integrate one or more of the logging technologies into ACS. The code for each of the programming languages is in different modules:

  • Python: ACS/LGPL/CommonSoftware/acspycommon
  • Java: ACS/LGPL/CommonSoftware/acsjlog
  • C++: ACS/LGPL/CommonSoftware/logging

Notification Channel

Notification Channel

...

Python

The Python logging implementation is based in the standard Python 'logging' module. Some conventions are introduced to standardize log levels among the implementations as well as other convenient functionalities. The logging.Logger class is specialized for ACS by defining a local and a remote handler.

The local handler just formats the logs in a convenient way to stdout, while the central handler takes advantage of the ACS Log Service to distribute the logs to any interested client.

Java

C++

Notification Channel

The notification channel 

Central Logger

ACS Log Service