Skip to content

Commit 604b9d0

Browse files
fstagniweb-flow
authored andcommitted
sweep: #5732 fix: securityLogging: zip after 1 day
1 parent a417797 commit 604b9d0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DIRAC/FrameworkSystem/private/SecurityFileLog.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ def run(self):
5656

5757
def __launchCleaningOldLogFiles(self):
5858
nowEpoch = time.time()
59-
self.__walkOldLogs(
60-
self.__basePath, nowEpoch, re.compile(r"^\d*\.security\.log\.csv$"), 86400 * 3, self.__zipOldLog
61-
)
59+
self.__walkOldLogs(self.__basePath, nowEpoch, re.compile(r"^\d*\.security\.log\.csv$"), 86400, self.__zipOldLog)
6260
self.__walkOldLogs(
6361
self.__basePath,
6462
nowEpoch,

0 commit comments

Comments
 (0)