diff --git a/docker/README.md b/docker/README.md index faedc351ea8e722aa98e0693f7d7fad119c84325..3f3437aec65ab4cc28b6236bf31a305b79572ea5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -46,8 +46,8 @@ To use this image, you need a running instance of PostgreSQL and to configure th ### LOGGING -* LOGGING_LEVEL_WEB: log level for the web layer of the application. Default to "WARN". -* LOGGING_LEVEL_HIBERNATE: log level for the Hibernate layer of the application. Default to "WARN". +* LOG_LEVEL: log level for the developer added logs. Default is "ERROR". +* LOG_LEVEL_FRAMEWORK: log level for all the framework logs. Default is "ERROR". ### ENDPOINTS diff --git a/docker/config/application.tmpl b/docker/config/application.tmpl index 8d76148db2d672039af35f54a8c3223bc57aa3d8..13fc6577970ede925089895265e8a3f6b0a409ae 100644 --- a/docker/config/application.tmpl +++ b/docker/config/application.tmpl @@ -50,15 +50,9 @@ frontend: logging: level: - root: {{ default .Env.LOG_LEVEL "ERROR" }} - org: - springframework: - security: ERROR - web: {{ default .Env.LOGGING_LEVEL_WEB "ERROR" }} - web.servlet.handler.BeanNameUrlHandlerMapping: ERROR - hibernate: {{ default .Env.LOGGING_LEVEL_HIBERNATE "ERROR" }} + root: {{ default .Env.LOG_LEVEL_FRAMEWORK "ERROR" }} eu: - hbp: {{ default .Env.LOGGING_LEVEL_MIP "INFO" }} + hbp: {{ default .Env.LOG_LEVEL "INFO" }} # EMBEDDED SERVER CONFIGURATION server: