Log cannot be found - SchwarzIT/sap-usi-logging-api GitHub Wiki
If you passed a wrong combination of Log-Object and Sub-Object to the factory or try to get an existing logger, without creating a logger first, the API will fallback to a default log object.
So if you do not find your log under the expected log object, try this default in SLG1.
Field | Value |
---|---|
Log object | /USI/BAL |
Subobject | WRONG_API_CALLS |
NOTE: Log objects might or might not have subobjects (definition via transaction SLG0). That's why the parameter i_sub_object of the factory method had to be optional.
If a log object has subobjects, using them is actually MANDATORY and will be enforced by SAPs standard API.
If you used a valid log object and your log is still found under the fallback log object, please check, if subobjects exist.