From 24486622b83eaee4f6ab0657b1649bc6f54e3e02 Mon Sep 17 00:00:00 2001 From: Zen Yui Date: Sun, 6 Dec 2020 17:20:33 -0500 Subject: [PATCH] simplify logger configuration names and document (#147) --- code/service/src/main/resources/logback.xml | 11 ++++++----- docs/configuration.md | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/code/service/src/main/resources/logback.xml b/code/service/src/main/resources/logback.xml index 85caf4ae..c02c10ab 100644 --- a/code/service/src/main/resources/logback.xml +++ b/code/service/src/main/resources/logback.xml @@ -3,8 +3,9 @@ - - + + + @@ -15,15 +16,15 @@ - %date{"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",UTC} %coloredLevel %logger - %msg%n + %date{"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",UTC} %-5level %logger - %msg%n - + - + UTC diff --git a/docs/configuration.md b/docs/configuration.md index bff431ea..ae705d31 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -11,6 +11,7 @@ See the following deployment-specific guides for relevant configurations: | environment variable | description | default | |--- | --- | --- | | LOG_LEVEL | The possible values are: _**DEBUG**_, _**INFO**_, _**WARN**_, _**ERROR**_ | DEBUG | +| LOG_STYLE | Logging format: _**STANDARD**_, _**SIMPLE**_, _**JSON**_ | _**JSON**_ | | JAVA_OPTS | The java options for the underlying jvm application | -Xms256M -Xmx1G -XX:+UseG1GC | | COS_ADDRESS | container host | 0.0.0.0 | | COS_PORT | container port | 9000 |