From e578c81b0b93178e7e9dc2d1cd0792e12057c066 Mon Sep 17 00:00:00 2001
From: Chinmoy Chakraborty <chinmoy12c@gmail.com>
Date: Wed, 26 Jun 2024 16:40:44 +0530
Subject: [PATCH 1/2] Version update.

---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4937375..2391f5a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,15 +11,15 @@
 	</parent>
 	<groupId>com.uci</groupId>
 	<artifactId>orchestrator</artifactId>
-	<version>2.4.2</version>
+	<version>2.4.3</version>
 	<name>orchestrator</name>
 	<description>Demo project for Spring Boot</description>
 
 	<properties>
 		<java.version>11</java.version>
-		<utils.version>2.4.2</utils.version>
-		<messagerosa.version>2.4.2</messagerosa.version>
-		<dao.version>2.4.2</dao.version>
+		<utils.version>2.4.3</utils.version>
+		<messagerosa.version>2.4.3</messagerosa.version>
+		<dao.version>2.4.3</dao.version>
 	</properties>
 
 	<!-- For Downloading repositories from github packages -->

From f92e9d6ac86980c6a08c6d62f122bfbbaab4a965 Mon Sep 17 00:00:00 2001
From: Chinmoy <chinmoy12c@gmail.com>
Date: Wed, 7 Aug 2024 19:06:46 +0530
Subject: [PATCH 2/2] Limit storage of logs (#73)

---
 src/main/resources/logback-spring.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml
index 9fa196c..204dde5 100644
--- a/src/main/resources/logback-spring.xml
+++ b/src/main/resources/logback-spring.xml
@@ -24,6 +24,8 @@
                 class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
             <!-- rollover daily and when the file reaches 10 MegaBytes -->
             <fileNamePattern>${LOGS}/archived/orchestrator-%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+            <maxHistory>2</maxHistory>
+            <totalSizeCap>5GB</totalSizeCap>
             <timeBasedFileNamingAndTriggeringPolicy
                     class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
                 <maxFileSize>10MB</maxFileSize>