Loggers have owners - SchwarzIT/sap-usi-logging-api GitHub Wiki

A log writer is a singleton, that will be stored by the factory. Once created you can access that logger instance literally everywhere in your codebase by just calling the factory.

This is pretty convenient but it also allows e.g. a flawed BAdI implementation to access your logger. Some random flawed BAdI should not be able to accidentally destroy your logger.

In order to avoid such "accidents", the execution of critical actions had to be restricted.

In order to do so, a concept of logical ownership was needed: One log has exactly one owner that has to prove the ownership when executing critical actions.

The API uses tokens for that purpose.