Better defaults for logging
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
spring:
|
||||||
|
main:
|
||||||
|
banner-mode: 'off'
|
||||||
|
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
org:
|
org:
|
||||||
@@ -5,6 +9,8 @@ logging:
|
|||||||
apache:
|
apache:
|
||||||
catalina: "WARN"
|
catalina: "WARN"
|
||||||
directory: "WARN"
|
directory: "WARN"
|
||||||
|
pattern:
|
||||||
|
console: '%d{yyyy-MM-dd HH:mm:ss.SSS} ${LOG_LEVEL_PATTERN:%5p} [%15.15t] %35.35logger{34} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}'
|
||||||
|
|
||||||
server:
|
server:
|
||||||
port: 8090
|
port: 8090
|
||||||
@@ -65,3 +71,11 @@ invite:
|
|||||||
|
|
||||||
storage:
|
storage:
|
||||||
backend: 'sqlite'
|
backend: 'sqlite'
|
||||||
|
|
||||||
|
---
|
||||||
|
spring:
|
||||||
|
profiles: systemd
|
||||||
|
|
||||||
|
logging:
|
||||||
|
pattern:
|
||||||
|
console: '%d{.SSS}${LOG_LEVEL_PATTERN:%5p} [%15.15t] %35.35logger{34} : %m%n${LOG_EXCEPTION_CONVERSION_WORD:%wEx}'
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ After=syslog.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=mxisd
|
User=mxisd
|
||||||
ExecStart=/usr/bin/mxisd --spring.config.location=/etc/mxisd/ --spring.config.name=mxisd
|
ExecStart=/usr/bin/mxisd --spring.config.location=/etc/mxisd/ --spring.config.name=mxisd --spring.profiles.active=systemd
|
||||||
SuccessExitStatus=143
|
SuccessExitStatus=143
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user