From 146255693cbedf8bbe0ff483d81754af2da3b08c Mon Sep 17 00:00:00 2001 From: Swordsteel Date: Wed, 6 Aug 2025 16:23:52 +0200 Subject: [PATCH] update predefined environment and logback --- .editorconfig | 2 +- src/main/resources/application.yml | 4 ++-- src/main/resources/logback-spring.xml | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index fe75bbd..4d50219 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,7 +9,7 @@ insert_final_newline = true max_line_length = 120 tab_width = 4 -[*.{md,json,yml}] +[*.{md,json,xml,xsd,yml}] max_line_length = 1024 indent_size = 2 tab_width = 2 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index abb83de..fd00b7f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -44,9 +44,9 @@ spring: --- ############################## -### Production environment ### +### Kubernetes environment ### ############################## spring: config: activate: - on-profile: production + on-profile: kubernetes diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index a11bbe7..cb0270f 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -7,7 +7,10 @@ - + + + +