From 6302dd25a427b3ffec34c1fede43044db90e259c Mon Sep 17 00:00:00 2001 From: Ivor D'Souza Date: Sun, 27 Oct 2024 18:10:23 +0000 Subject: [PATCH 1/3] feat(elk-stack-setup): add ecs logging for elastic setup --- pom.xml | 13 +- src/main/environment/common_local.properties | 91 ++++++++++ src/main/resources/application.properties | 169 ++++++++++++++++++ src/main/resources/logback-spring.xml | 21 +++ src/main/resources/logback.xml | 34 ---- .../WEB-INF/jboss-deployment-structure.xml | 8 + 6 files changed, 295 insertions(+), 41 deletions(-) create mode 100644 src/main/resources/logback-spring.xml delete mode 100644 src/main/resources/logback.xml create mode 100644 src/main/webapp/WEB-INF/jboss-deployment-structure.xml diff --git a/pom.xml b/pom.xml index 18e665cb..2d6fde61 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ v-1.0 war - hwc-facility-service + hwc-facility-service-api Piramal HWC Service / APIs @@ -48,12 +48,11 @@ org.springframework.boot spring-boot-starter - - - org.springframework.boot - spring-boot-starter-logging - - + + + co.elastic.logging + logback-ecs-encoder + 0.4.0 org.springframework.boot diff --git a/src/main/environment/common_local.properties b/src/main/environment/common_local.properties index e69de29b..8b1b087c 100644 --- a/src/main/environment/common_local.properties +++ b/src/main/environment/common_local.properties @@ -0,0 +1,91 @@ +# dev env +# DB Connections +spring.datasource.url= +spring.datasource.username= +spring.datasource.password= +spring.datasource.driver-class-name=com.mysql.jdbc.Driver + +## Carestream URLs +carestreamOrderCreateURL =http://localhost:8080/carestream/createOrder + +## Identity - Common URLs +# Registration +registrationUrl =http://localhost:8080/beneficiary/create + +syncSearchByLocation =http://localhost:8082/id/searchByVillageIdAndLastModifiedDate + +getBenCountToSync = http://localhost:8082/id/countBenByVillageIdAndLastModifiedDate + +registrarQuickSearchByIdUrl =http://localhost:8080/beneficiary/searchUserByID + +registrarQuickSearchByPhoneNoUrl =http://localhost:8080/beneficiary/searchUserByPhone + +getBenImageFromIdentity =http://localhost:8082/id/benImageByBenRegID + +##save covid Vaccine details coming from mobile app through fhir +saveCovidVaccineDetailsURL = http://localhost:8080/covid/saveCovidVaccinationDetails + +##beneficiary edit +beneficiaryEditUrl =http://localhost:8080/beneficiary/update + +## Advance Search +registrarAdvanceSearchUrl =http://localhost:8080/beneficiary/searchBeneficiary + +## Data Sync API +dataSyncUploadUrl==http://localhost:8080/dataSync/van-to-server + +## Data download API +dataSyncDownloadUrl==http://localhost:8080/dataSync/server-to-van + +## TC specialist slot booking +tcSpecialistSlotBook=http://localhost:9091/schedule/bookSlot + +## TC specialist slot cancelling +tcSpecialistSlotCancel=http://localhost:9091/schedule/cancelBookedSlot + +## TM sms to beneficiary(schedule, cancel, reschedule) +sendSMSUrl=http://localhost:8080/sms/sendSMS + +### get openkm doc download url +openkmDocUrl=http://localhost:8080/kmfilemanager/getKMFileDownloadURL + +##Fetosense Url +foetalMonitor-api-url-ANCTestDetails=https://asia-south1-amrit-fetosense.cloudfunctions.net/insertMother + +## apiKey for calling fetosense api +foetalMonitorAPIKey = + +## TM SMS template details(SMS type) +schedule=TC Schedule SMS +cancel=TC Cancel SMS +reSchedule=TC Reschedule SMS + +snomedCTPageSize=10 + +nurseWL=7 +nurseTCWL=7 +docWL=7 +pharmaWL=7 +labWL=7 +radioWL=7 +oncoWL=7 +tcSpeclistWL=7 + + +servicePointID= 235 +parkingPlaceID= 233 +providerServiceMapID= 1261 +vanID= 220 +serviceID= 4 +providerID= 500 +appId= 85696 +authKey= 8BfRcBAGkTQkbQ6 +authSecret= jgQRyySBGu2YcaJ +scheduling-slotsize=5 +prescription=TMPrescription SMS + +### Redis IP +spring.redis.host=localhost + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4650ceed..b2736a31 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -43,5 +43,174 @@ logging.level.org.hibernate=INFO logging.level.com.iemr=DEBUG logging.level.org.springframework=INFO +logging.path=logs/ +logging.file.name=logs/hwc-api.log + # Keep a line at the end so that environment.ts file can be appended properly +# Test env +# DB Connections +spring.jpa.database=default + +##--------------------------------------------## Primary db------------------------------------------------------------------- + +spring.datasource.url=jdbc:mysql://localhost:3306/db_identity +spring.datasource.username=testuser +spring.datasource.password=Test@123 +spring.datasource.driver-class-name=com.mysql.jdbc.Driver + +secondary.datasource.username= +secondary.datasource.password= +secondary.datasource.url= +secondary.datasource.driver-class-name=com.mysql.jdbc.Drive + +encDbUserName=zFlYsp9Z0s+lRvLM15A3g/Ba0w8VGs/1usuW7EsGF3k= +encDbPass=JGGAGn5wTlrbTLUHY+5BzfBa0w8VGs/1usuW7EsGF3k= + +##-------------------------------------------------------------# KM config-------------------------------------------------- + +km-base-url=http://10.208.122.38:8084/OpenKM +km-base-path=10.208.122.38:8084/OpenKM +##----------------------------------------------# CTI Config----------------------------------------------------------------- + +cti-server-ip=10.208.122.99 +cti-logger_base_url=http://10.208.122.99/logger +##-------------------------------------------------#### Identity Config-------------------------------------------------------------- + +identity-api-url=/identity-0.0.1 +identity-1097-api-url=/1097identityapi-v1.0 + +### generate Beneficiary Config +genben-api=/bengenapi-v1.0 + +##---------------------------------------------#### SMS Configuration------------------------------------------------------------------ +send-sms=false +sendSMSUrl = http://localhost:8080/sms/sendSMS +source-address=AIDSHL +sms-username= +sms-password= +send-message-url= + +###SMS Scheduler configurations +start-sms-scheduler=false +cron-scheduler-sms=0 0/1 * * * ? * +##----------------------------------------------#### Email Configuration----------------------------------------------------------------- +send-email=false +spring.mail.host=smtp.gmail.com +spring.mail.port=587 +spring.mail.username= +spring.mail.password= +spring.mail.properties.mail.smtp.auth=true +spring.mail.properties.mail.smtp.starttls.enable=true + +###Email Scheduler configurations +start-email-scheduler=false +cron-scheduler-email=0 0/1 * * * ? * +##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ + +start-ctidatasync-scheduler=false +cron-scheduler-ctidatasync=0 0 2 */2 * ? + +##-------------------------------###cti data check with call detail report Scheduler------------------------------------------------------ + +#Runs at everyday 12:10AM +start-ctidatacheck-scheduler=true +cron-scheduler-ctidatacheck=0 10 00 * * * + +##---------------------------------#### Registration schedular for Avni------------------------------------------------------------------------------ + +start-avni-scheduler=false +cron-avni-registration=0 0/1 * * * ? * +##------------------------------------------------#### Everwell Regsitration Scheduler--------------------------------------------------------------- + +start-registration-scheduler=false +cron-scheduler-registration=0 34 19 * * ? * +##----------------------------------------------------#everwell data sync----------------------------------------------------------- + +start-everwelldatasync-scheduler=false +cron-scheduler-everwelldatasync=0 0/5 * * * ? * +##-----------------------------------------------#NHM data dashboard schedular---------------------------------------------------------------- +# run at everyday 12:01AM +start-nhmdashboard-scheduler=true +cron-scheduler-nhmdashboard=0 1 * * * ? * + +##-------------------------------------------------### Redis IP-------------------------------------------------------------- + +spring.redis.host=localhost + +##--------------------------------------------------------------------------------------------------------------- +###CTI data sync schedular +cz-duration=40 +##--------------------------------------------------------------------------------------------------------------- +## prescription template +TMprescriptionTemplate=TMPrescription +##--------------------------------------------------------------------------------------------------------------- +##duration for everwell calender +everwellCalendarDuration=15 + ##--------------------------------------------------------------------------------------------------------------- +##lonic variables +lonicPageSize=10 + ##--------------------------------------------------------------------------------------------------------------- +#snomedcti +snomedCTPageSize=10 +##--------------------------------------------------------------------------------------------------------------- +#call retry count +callRetryConfiguration=3 +##--------------------------------------------------------------------------------------------------------------- +#avni registration Duration +avniRegistrationLimit=7 + +#--------------------------NHM Agent Real Time Data---------------------------- +nhm.agent.real.time.data.url= http://175.101.1.83/apps/utility/alive_api.php +nhm.agent.real.time.data.cron.scheduler=0 */2 * ? * * +nhm.agent.real.time.data.cron.flag=true + +carestream_socket_ip = 192.168.43.39 +carestream_socket_port = 1235 + +## everwell variables +everwellUserName = +everwellPassword = +amritUserName = +amritPassword = + +## everwell API call +everwellAddSupportAction = https://beta-hub.everwell.org/Api/Patients/AddSupportAction +everwellEditDoses = https://beta-hub.everwell.org/Api/Patients/EditManualDoses +everwellEditMissedDoses = https://beta-hub.everwell.org/Api/Patients/EditMissedDoses +everwellGetPatientAdherenceUrl = https://beta-hub.everwell.org/Api/Patients/CurrentMonthMissedAdherence?Page= +everwellEditSecondaryPhoneNo = https://beta-hub.everwell.org/Api/Patients/EditPhoneNumber +everwell1097userAuthenticate = http://10.208.122.38:8080/commonapi-v1.0/user/userAuthenticate +everwelluserAuthenticate = https://beta-hub.everwell.org/token +everwellRegisterBenficiary = http://10.208.122.38:8080/commonapi-v1.0/beneficiary/create + + +## LungAssessment credentials +lungAssessmentEmail = +lungAssessmentPassword = + + +## SWASSA APIs +lungAssessmentAdminLogin = http://swaasa.sandbox.swaasa.ai/api/adminLogin +lungAssessmentValidateCough = http://swaasa.sandbox.swaasa.ai/api/verifycough +lungAssessmentStartAssesment = http://swaasa.sandbox.swaasa.ai/api/assessment +lungAssessmentGetAssesment = http://swaasa.sandbox.swaasa.ai/api/getAssessment + +#E- Sanjeevani user authenticate creds +eSanjeevani.url: https://preprod.esanjeevaniopd.xyz/uat/aus/api/ThirdPartyAuth/providerLogin +eSanjeevani.userName: +eSanjeevani.password: +eSanjeevani.salt: 123456 +eSanjeevani.source: 11001 +eSanjeevani.registerPatient: https://preprod.esanjeevaniopd.xyz/uat/ps/api/v1/Patient +eSanjeevani.routeUrl: https://uat.esanjeevani.in/user/signin + +biometric.discover.url = http://127.0.0.1:port/ +biometric.deviceInfo.url = http://127.0.0.1:port/rd/info +biometric.capture.url = http://127.0.0.1:port/rd/capture +eAusadhaUrl=https://dlc.kar.nic.in/e-services/api/DWInstituteInward + +eausadhaAuthorization= +spring.main.allow-bean-definition-overriding=true +spring.main.allow-circular-references=true + diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..232d4796 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,21 @@ + + + + + + ${LOG_FILE}.json + + ${LOG_FILE}.json.%d{yyyy-MM-dd}.gz + 10MB + 0 + 10MB + true + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml deleted file mode 100644 index af23c3ec..00000000 --- a/src/main/resources/logback.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - ${HOME_LOG} - - - logs/archived/app.%d{yyyy-MM-dd}.%i.log.gz - - 1MB - - 20GB - - 60 - - - - %d %-5p [%X{sessionId}] [%X{userId}] %C{1}.%M:%L] %m%n - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml new file mode 100644 index 00000000..545b6796 --- /dev/null +++ b/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file From d52b5ec125005f9f798458ed1a6984d0e930aeb9 Mon Sep 17 00:00:00 2001 From: Ivor D'Souza Date: Sun, 27 Oct 2024 18:12:35 +0000 Subject: [PATCH 2/3] feat(elk-stack-setup): remove local env settings --- src/main/environment/common_local.properties | 91 ---------- src/main/resources/application.properties | 167 ------------------- 2 files changed, 258 deletions(-) diff --git a/src/main/environment/common_local.properties b/src/main/environment/common_local.properties index 8b1b087c..e69de29b 100644 --- a/src/main/environment/common_local.properties +++ b/src/main/environment/common_local.properties @@ -1,91 +0,0 @@ -# dev env -# DB Connections -spring.datasource.url= -spring.datasource.username= -spring.datasource.password= -spring.datasource.driver-class-name=com.mysql.jdbc.Driver - -## Carestream URLs -carestreamOrderCreateURL =http://localhost:8080/carestream/createOrder - -## Identity - Common URLs -# Registration -registrationUrl =http://localhost:8080/beneficiary/create - -syncSearchByLocation =http://localhost:8082/id/searchByVillageIdAndLastModifiedDate - -getBenCountToSync = http://localhost:8082/id/countBenByVillageIdAndLastModifiedDate - -registrarQuickSearchByIdUrl =http://localhost:8080/beneficiary/searchUserByID - -registrarQuickSearchByPhoneNoUrl =http://localhost:8080/beneficiary/searchUserByPhone - -getBenImageFromIdentity =http://localhost:8082/id/benImageByBenRegID - -##save covid Vaccine details coming from mobile app through fhir -saveCovidVaccineDetailsURL = http://localhost:8080/covid/saveCovidVaccinationDetails - -##beneficiary edit -beneficiaryEditUrl =http://localhost:8080/beneficiary/update - -## Advance Search -registrarAdvanceSearchUrl =http://localhost:8080/beneficiary/searchBeneficiary - -## Data Sync API -dataSyncUploadUrl==http://localhost:8080/dataSync/van-to-server - -## Data download API -dataSyncDownloadUrl==http://localhost:8080/dataSync/server-to-van - -## TC specialist slot booking -tcSpecialistSlotBook=http://localhost:9091/schedule/bookSlot - -## TC specialist slot cancelling -tcSpecialistSlotCancel=http://localhost:9091/schedule/cancelBookedSlot - -## TM sms to beneficiary(schedule, cancel, reschedule) -sendSMSUrl=http://localhost:8080/sms/sendSMS - -### get openkm doc download url -openkmDocUrl=http://localhost:8080/kmfilemanager/getKMFileDownloadURL - -##Fetosense Url -foetalMonitor-api-url-ANCTestDetails=https://asia-south1-amrit-fetosense.cloudfunctions.net/insertMother - -## apiKey for calling fetosense api -foetalMonitorAPIKey = - -## TM SMS template details(SMS type) -schedule=TC Schedule SMS -cancel=TC Cancel SMS -reSchedule=TC Reschedule SMS - -snomedCTPageSize=10 - -nurseWL=7 -nurseTCWL=7 -docWL=7 -pharmaWL=7 -labWL=7 -radioWL=7 -oncoWL=7 -tcSpeclistWL=7 - - -servicePointID= 235 -parkingPlaceID= 233 -providerServiceMapID= 1261 -vanID= 220 -serviceID= 4 -providerID= 500 -appId= 85696 -authKey= 8BfRcBAGkTQkbQ6 -authSecret= jgQRyySBGu2YcaJ -scheduling-slotsize=5 -prescription=TMPrescription SMS - -### Redis IP -spring.redis.host=localhost - - - diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index b2736a31..9ae8b344 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -47,170 +47,3 @@ logging.path=logs/ logging.file.name=logs/hwc-api.log # Keep a line at the end so that environment.ts file can be appended properly - -# Test env -# DB Connections -spring.jpa.database=default - -##--------------------------------------------## Primary db------------------------------------------------------------------- - -spring.datasource.url=jdbc:mysql://localhost:3306/db_identity -spring.datasource.username=testuser -spring.datasource.password=Test@123 -spring.datasource.driver-class-name=com.mysql.jdbc.Driver - -secondary.datasource.username= -secondary.datasource.password= -secondary.datasource.url= -secondary.datasource.driver-class-name=com.mysql.jdbc.Drive - -encDbUserName=zFlYsp9Z0s+lRvLM15A3g/Ba0w8VGs/1usuW7EsGF3k= -encDbPass=JGGAGn5wTlrbTLUHY+5BzfBa0w8VGs/1usuW7EsGF3k= - -##-------------------------------------------------------------# KM config-------------------------------------------------- - -km-base-url=http://10.208.122.38:8084/OpenKM -km-base-path=10.208.122.38:8084/OpenKM -##----------------------------------------------# CTI Config----------------------------------------------------------------- - -cti-server-ip=10.208.122.99 -cti-logger_base_url=http://10.208.122.99/logger -##-------------------------------------------------#### Identity Config-------------------------------------------------------------- - -identity-api-url=/identity-0.0.1 -identity-1097-api-url=/1097identityapi-v1.0 - -### generate Beneficiary Config -genben-api=/bengenapi-v1.0 - -##---------------------------------------------#### SMS Configuration------------------------------------------------------------------ -send-sms=false -sendSMSUrl = http://localhost:8080/sms/sendSMS -source-address=AIDSHL -sms-username= -sms-password= -send-message-url= - -###SMS Scheduler configurations -start-sms-scheduler=false -cron-scheduler-sms=0 0/1 * * * ? * -##----------------------------------------------#### Email Configuration----------------------------------------------------------------- -send-email=false -spring.mail.host=smtp.gmail.com -spring.mail.port=587 -spring.mail.username= -spring.mail.password= -spring.mail.properties.mail.smtp.auth=true -spring.mail.properties.mail.smtp.starttls.enable=true - -###Email Scheduler configurations -start-email-scheduler=false -cron-scheduler-email=0 0/1 * * * ? * -##-------------------------------###cti data sync Scheduler configurations------------------------------------------------------ - -start-ctidatasync-scheduler=false -cron-scheduler-ctidatasync=0 0 2 */2 * ? - -##-------------------------------###cti data check with call detail report Scheduler------------------------------------------------------ - -#Runs at everyday 12:10AM -start-ctidatacheck-scheduler=true -cron-scheduler-ctidatacheck=0 10 00 * * * - -##---------------------------------#### Registration schedular for Avni------------------------------------------------------------------------------ - -start-avni-scheduler=false -cron-avni-registration=0 0/1 * * * ? * -##------------------------------------------------#### Everwell Regsitration Scheduler--------------------------------------------------------------- - -start-registration-scheduler=false -cron-scheduler-registration=0 34 19 * * ? * -##----------------------------------------------------#everwell data sync----------------------------------------------------------- - -start-everwelldatasync-scheduler=false -cron-scheduler-everwelldatasync=0 0/5 * * * ? * -##-----------------------------------------------#NHM data dashboard schedular---------------------------------------------------------------- -# run at everyday 12:01AM -start-nhmdashboard-scheduler=true -cron-scheduler-nhmdashboard=0 1 * * * ? * - -##-------------------------------------------------### Redis IP-------------------------------------------------------------- - -spring.redis.host=localhost - -##--------------------------------------------------------------------------------------------------------------- -###CTI data sync schedular -cz-duration=40 -##--------------------------------------------------------------------------------------------------------------- -## prescription template -TMprescriptionTemplate=TMPrescription -##--------------------------------------------------------------------------------------------------------------- -##duration for everwell calender -everwellCalendarDuration=15 - ##--------------------------------------------------------------------------------------------------------------- -##lonic variables -lonicPageSize=10 - ##--------------------------------------------------------------------------------------------------------------- -#snomedcti -snomedCTPageSize=10 -##--------------------------------------------------------------------------------------------------------------- -#call retry count -callRetryConfiguration=3 -##--------------------------------------------------------------------------------------------------------------- -#avni registration Duration -avniRegistrationLimit=7 - -#--------------------------NHM Agent Real Time Data---------------------------- -nhm.agent.real.time.data.url= http://175.101.1.83/apps/utility/alive_api.php -nhm.agent.real.time.data.cron.scheduler=0 */2 * ? * * -nhm.agent.real.time.data.cron.flag=true - -carestream_socket_ip = 192.168.43.39 -carestream_socket_port = 1235 - -## everwell variables -everwellUserName = -everwellPassword = -amritUserName = -amritPassword = - -## everwell API call -everwellAddSupportAction = https://beta-hub.everwell.org/Api/Patients/AddSupportAction -everwellEditDoses = https://beta-hub.everwell.org/Api/Patients/EditManualDoses -everwellEditMissedDoses = https://beta-hub.everwell.org/Api/Patients/EditMissedDoses -everwellGetPatientAdherenceUrl = https://beta-hub.everwell.org/Api/Patients/CurrentMonthMissedAdherence?Page= -everwellEditSecondaryPhoneNo = https://beta-hub.everwell.org/Api/Patients/EditPhoneNumber -everwell1097userAuthenticate = http://10.208.122.38:8080/commonapi-v1.0/user/userAuthenticate -everwelluserAuthenticate = https://beta-hub.everwell.org/token -everwellRegisterBenficiary = http://10.208.122.38:8080/commonapi-v1.0/beneficiary/create - - -## LungAssessment credentials -lungAssessmentEmail = -lungAssessmentPassword = - - -## SWASSA APIs -lungAssessmentAdminLogin = http://swaasa.sandbox.swaasa.ai/api/adminLogin -lungAssessmentValidateCough = http://swaasa.sandbox.swaasa.ai/api/verifycough -lungAssessmentStartAssesment = http://swaasa.sandbox.swaasa.ai/api/assessment -lungAssessmentGetAssesment = http://swaasa.sandbox.swaasa.ai/api/getAssessment - -#E- Sanjeevani user authenticate creds -eSanjeevani.url: https://preprod.esanjeevaniopd.xyz/uat/aus/api/ThirdPartyAuth/providerLogin -eSanjeevani.userName: -eSanjeevani.password: -eSanjeevani.salt: 123456 -eSanjeevani.source: 11001 -eSanjeevani.registerPatient: https://preprod.esanjeevaniopd.xyz/uat/ps/api/v1/Patient -eSanjeevani.routeUrl: https://uat.esanjeevani.in/user/signin - -biometric.discover.url = http://127.0.0.1:port/ -biometric.deviceInfo.url = http://127.0.0.1:port/rd/info -biometric.capture.url = http://127.0.0.1:port/rd/capture -eAusadhaUrl=https://dlc.kar.nic.in/e-services/api/DWInstituteInward - -eausadhaAuthorization= -spring.main.allow-bean-definition-overriding=true -spring.main.allow-circular-references=true - From 74c7ee8e2edc952cea29b87f52386ecd35edf235 Mon Sep 17 00:00:00 2001 From: Ivor D'Souza Date: Thu, 31 Oct 2024 01:50:17 +0000 Subject: [PATCH 3/3] fix bot suggestions --- pom.xml | 2 +- src/main/resources/logback-spring.xml | 22 ++++++++++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 2d6fde61..d1b7087b 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,7 @@ co.elastic.logging logback-ecs-encoder - 0.4.0 + 1.3.2 org.springframework.boot diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 232d4796..50aecbc8 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,21 +1,27 @@ - - - + + + ${LOG_FILE}.json ${LOG_FILE}.json.%d{yyyy-MM-dd}.gz - 10MB + 100MB 0 - 10MB true - + + + + + 512 + 0 + false - - + + \ No newline at end of file