File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -311,13 +311,13 @@ EOF
311
311
# ##############################################################################
312
312
# rotate_logs: Manages log file sizes and retention
313
313
# Rotates logs based on:
314
- # - Size limit (10MB )
315
- # - Age limit (2 days )
314
+ # - Size limit (5MB )
315
+ # - Age limit (25 hr )
316
316
# Handles: error.log, warning.log, gpu_stats.log
317
317
# ##############################################################################
318
318
rotate_logs () {
319
- local max_size=$(( 10 * 1024 * 1024 )) # 10MB size limit
320
- local max_age=$(( 2 * 24 * 3600 )) # 2 day retention
319
+ local max_size=$(( 5 * 1024 * 1024 )) # 5MB size limit
320
+ local max_age=$(( 25 * 3600 )) # 25hr retention
321
321
local current_time=$( date +%s)
322
322
323
323
rotate_log_file () {
You can’t perform that action at this time.
0 commit comments