-
Notifications
You must be signed in to change notification settings - Fork 4
Logging
In this section we explain how the log subsystem is configured.
You configure the log in file application.yaml found in the resources folder of OAG.
There the section logging:
is relevant. This section is standard SpringBoot and you can find details about log configuration for example here.
One special thing we are using is the log-pattern. Here we apply
%X{oag.CorrId}
This makes sure that the trace id (or correlation id) is written with each log statement. So make sure your log pattern contains %X{oag.CorrId}
if you need log correlation - which we strongly recommend.
When it comes to log destinations we currently ship only what comes with SpringBoot out of the box.
This Wiki contains the documentation of the OWASP Application Gateway (OAG). If you think that we missed something please add an issue on GitHub.
- Wiki Home
There is also a Swagger documentation of all OAG endpoint available online: https://app.swaggerhub.com/apis-docs/gianlucafrei/OAG/0.4#/