From d44a2ada1f2777d77ee1cab968d5633f88749d60 Mon Sep 17 00:00:00 2001 From: Shubhra Date: Sat, 14 Dec 2019 15:40:01 +0530 Subject: [PATCH 1/2] BAEL-3500 Emails with Logback --- logging-modules/logback/pom.xml | 11 ++++++ .../logback/src/main/resources/logback.xml | 38 +++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/logging-modules/logback/pom.xml b/logging-modules/logback/pom.xml index 6ffc9e1235..ddf2df1972 100644 --- a/logging-modules/logback/pom.xml +++ b/logging-modules/logback/pom.xml @@ -50,6 +50,17 @@ + + javax.mail + mail + 1.4.7 + + + javax.activation + activation + 1.1.1 + runtime + diff --git a/logging-modules/logback/src/main/resources/logback.xml b/logging-modules/logback/src/main/resources/logback.xml index 37ae2adbb0..76ddc2e3ee 100644 --- a/logging-modules/logback/src/main/resources/logback.xml +++ b/logging-modules/logback/src/main/resources/logback.xml @@ -10,9 +10,47 @@ + + OUR-SMTP-HOST-ADDRESS + + EMAIL-RECIPIENT-1 + EMAIL-RECIPIENT-2 + SENDER-EMAIL-ADDRESS + BAELDUNG: %logger{20} - %msg + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg%n + + + + + OUR-SMTP-HOST-ADDRESS + EMAIL-RECIPIENT + SENDER-EMAIL-ADDRESS + BAELDUNG: %logger{20} - %msg + + + + 5 + + + + + smtp.gmail.com + 587 + true + false + SENDER-EMAIL@gmail.com + GMAIL-ACCT-PASSWORD + EMAIL-RECIPIENT + SENDER-EMAIL@gmail.com + BAELDUNG: %logger{20} - %msg + + + + \ No newline at end of file From 03889c24e99dfa5614743d1821aa811efb512a24 Mon Sep 17 00:00:00 2001 From: Shubhra Date: Sat, 28 Dec 2019 21:42:52 +0530 Subject: [PATCH 2/2] BAEL-3500 Incorporating Review comment --- logging-modules/logback/pom.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/logging-modules/logback/pom.xml b/logging-modules/logback/pom.xml index ddf2df1972..ee430949df 100644 --- a/logging-modules/logback/pom.xml +++ b/logging-modules/logback/pom.xml @@ -53,12 +53,12 @@ javax.mail mail - 1.4.7 + ${javax.mail.version} javax.activation activation - 1.1.1 + ${javax.activation.version} runtime @@ -67,6 +67,8 @@ 1.2.3 0.1.5 3.3.5 + 1.4.7 + 1.1.1