Skip to content

Commit 819fef1

Browse files
committed
Add two global config parameters allowing to parameterize the FILE log
handler of Wildfly: * SERVER_LOG_BACKUP_MAX: the number of backup of the FILE log to maintain. Above this count, all the olders additional backups are deleted; * SERVER_LOG_BACKUP_SIZE: the maximum size of the FILE log (the unity, m for megabyte for example, has to be indicated with the number). By default, SERVER_LOG_BACKUP_MAX=10 and SERVER_LOG_BACKUP_SIZE=5m
1 parent 75e7ee6 commit 819fef1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/default_config.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ SILVERPEAS_LOGGING_LEVEL=WARNING
8484
SILVERPEAS_LOG_BACKUP_MAX=5
8585
SILVERPEAS_LOG_BACKUP_SIZE=20M
8686

87+
## The server root logging parameters
88+
SERVER_LOG_BACKUP_MAX=10
89+
SERVER_LOG_BACKUP_SIZE=5m
90+
8791
## The name of the application context under which Silverpeas will be deployed.
8892
## It defines the path in the URL at which Silverpeas is accessible in the Web. For instance:
8993
### ${SERVER_URL}/${SILVERPEAS_CONTEXT} (http://localhost:8000/silverpeas with the default values).

0 commit comments

Comments
 (0)