From 7cdd5297ac3237ecfc711a163ff3c7bbfbf0918b Mon Sep 17 00:00:00 2001 From: darksnake Date: Thu, 5 May 2022 15:46:54 +0300 Subject: [PATCH] Add logback file appender --- .gitignore | 5 ++++- src/main/resources/logback.xml | 17 +++++++++++++++++ .../magprog/content/mentors/Ziniviev.md | 1 - 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c426c32..ed0a0ee 100644 --- a/.gitignore +++ b/.gitignore @@ -33,4 +33,7 @@ out/ /.nb-gradle/ ### VS Code ### -.vscode/ \ No newline at end of file +.vscode/ + + +/logs/ \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index bdbb64e..a5631ba 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -1,12 +1,29 @@ + + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + logs/${bySecond}.txt + + %d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + + + + + diff --git a/src/main/resources/magprog/content/mentors/Ziniviev.md b/src/main/resources/magprog/content/mentors/Ziniviev.md index 5736d78..b7a151b 100644 --- a/src/main/resources/magprog/content/mentors/Ziniviev.md +++ b/src/main/resources/magprog/content/mentors/Ziniviev.md @@ -3,7 +3,6 @@ content_type: magprog_mentor name: Зиновьев Алексей Викторович id: Zinoviev photo: Zinoviev.jpg -published: false language: ru --- #### Организация