Request-based logging format
| Attribute | Description |
|---|---|
timestamp |
e.g. 2023-07-25T06:55:52.372Z |
environment |
Environment where the application is hosted. Source: Environment variable NEXEED_GLOBAL_ENVIRONMENT_NAME |
system |
The name of the system, e.g. DEV, TEST, PROD, etc… Source: Environment variable NEXEED_GLOBAL_SYSTEM_NAME |
application |
Name of the application e.g. condition-monitoring-core. |
version |
Version of the application e.g. 3.0.1 |
instance |
The name or identifier of the instance. Source: Environment variable NEXEED_GLOBAL_APPLICATION_INSTANCE_ID |
thread |
Name of the thread e.g. http-nio-9095-exec-2 |
logger |
Name of the java package that logged the information. |
loglevel |
TRACE or DEBUG or INFO or WARN or ERROR |
message |
Text of the log message describing reason and context. |
stackTraces |
Stack traces of caught exceptions. |
correlationId |
Unique id for one request. Used to collect all log messages of the same request. |
traceId |
Unique trace id for monitoring. If no value is available the attribute is not present. |
spanId |
Unique span id for monitoring. If no value is available the attribute is not present. |
tenantId |
Most of the log messages are related to a tenant. In other cases is this attribute empty. |
userId |
Id of the user that is sending the request. For log messages which are not caused by a request this attribute is empty. |