Logging format for FusionAuth
-
I was wondering if anyone knew what logging library is used in FA? We are running on Fargate and want to detect errors in the cloudwatch logs using a lambda script and cloudwatch subscription filters, but it would be helpful to know if there is a format used when those message appear or if they are just free form text we will have to parse.
-
We use logback.
As of version 1.19.0, here is the logging pattern:
<pattern>%d{"yyyy-MM-dd h:mm:ss.SSS a"} %-5level %logger{75} - %msg%n</pattern>
Older versions, prior to 1.19.0, use this pattern
<pattern>%d{"MMM dd, yyyy h:mm:ss.SSS a"} %-5level %logger{75} - %msg%n</pattern>
.