Skip to content

Commit

Permalink
#24 | Clear logs older than 3 months
Browse files Browse the repository at this point in the history
  • Loading branch information
Balamuruganjeevi authored May 24, 2024
1 parent 7768b0b commit 81c52a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provision/server/provision/openchs.conf.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export OPENCHS_SERVER=localhost
export OPENCHS_SERVER_PORT=${server_port}
export OPENCHS_SERVER_OPTS="-Dnewrelic.environment=${environment} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file=/var/log/openchs/chs.log -Dlogging.path=/var/log/openchs/ -Dlogging.file.max-size=5mb -Xmx250m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile=/var/log/openchs/jvm.log"
export OPENCHS_SERVER_OPTS="-Dnewrelic.environment=${environment} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file=/var/log/openchs/chs.log -Dlogging.path=/var/log/openchs/ -Dlogging.file.max-size=5mb -Dlogging.file.max-history=90 -Xmx250m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile=/var/log/openchs/jvm.log"
export OPENCHS_DATABASE_HOST=${database_host}
export OPENCHS_DATABASE_USER=${database_user}
export OPENCHS_DATABASE_PASSWORD=${database_password}
Expand Down

0 comments on commit 81c52a8

Please sign in to comment.