mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-27 19:45:18 +00:00
[JENKINS-64151] Set a default file size rotation of AsyncPeriodicWork… (#7376)
Co-authored-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
1 parent
4a3dc3b1bb
commit
df89aa6855
2 files changed
+2
-2
No files matched your search
@@ -64,7 +64,7 @@ public abstract class AsyncAperiodicWork extends AperiodicWork {
|
||||
* @since 1.651
|
||||
*/
|
||||
private static final long LOG_ROTATE_SIZE = SystemProperties.getLong(AsyncAperiodicWork.class.getName() + ".logRotateSize",
|
||||
-1L);
|
||||
10485760L);
|
||||
/**
|
||||
* The number of milliseconds (since startup or previous rotation) after which to try and rotate the log file.
|
||||
*
|
||||
|
||||
@@ -45,7 +45,7 @@ public abstract class AsyncPeriodicWork extends PeriodicWork {
|
||||
*
|
||||
* @since 1.651
|
||||
*/
|
||||
private static final long LOG_ROTATE_SIZE = SystemProperties.getLong(AsyncPeriodicWork.class.getName() + ".logRotateSize", -1L);
|
||||
private static final long LOG_ROTATE_SIZE = SystemProperties.getLong(AsyncPeriodicWork.class.getName() + ".logRotateSize", 10485760L);
|
||||
/**
|
||||
* The number of milliseconds (since startup or previous rotation) after which to try and rotate the log file.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user