From 74db92a90fc7e6aa90f7eccc7ba610810a25313b Mon Sep 17 00:00:00 2001 From: himeshr Date: Thu, 19 Dec 2024 13:07:51 +0530 Subject: [PATCH] avniproject/avni-server#813 | update avni_server_opts to use jdk21 propertyNames --- configure/group_vars/onpremise_vars.yml | 4 ++-- configure/group_vars/staging_vars.yml | 2 +- configure/group_vars/vars.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configure/group_vars/onpremise_vars.yml b/configure/group_vars/onpremise_vars.yml index ea98d37..93c08f7 100644 --- a/configure/group_vars/onpremise_vars.yml +++ b/configure/group_vars/onpremise_vars.yml @@ -22,7 +22,7 @@ scheduled_job_trigger_misfire_threshold: "2700000" scheduled_job_repeat_interval: "60" avni_server_host: "localhost" avni_server_port: "8021" -avni_server_opts: " -Dlogging.file={{avni_server_access_log_dir}}/chs.log -Dlogging.path={{avni_server_access_log_dir}} -Dlogging.file.max-size=5mb -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" +avni_server_opts: " -Dlogging.file.name={{avni_server_access_log_dir}}/chs.log -Dlogging.logback.rollingpolicy.max-file-size=5mb -Dlogging.logback.rollingpolicy.max-history=90 -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=\"/bin/kill -9 %p\" -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" avni_server_db_host: "db.security.lfe.avniproject.org" avni_server_db_port: "5432" avni_server_db_schema: "public" @@ -34,7 +34,7 @@ avni_server_minio_url: "https://minio.security.lfe.avniproject.org:442" avni_server_bugsnag_release_stage: "on-premise" avni_server_keycloak_url: "https://keycloak.security.lfe.avniproject.org" avni_server_keycloak_enabled: "true" -avni_server_access_log_dir: "/var/log/avni_server/" +avni_server_access_log_dir: "/var/log/avni_server" avni_server_cache_max_entries: "100" avni_server_cache_ttl_seconds: "600" avni_server_cache_max_weight: "1000" diff --git a/configure/group_vars/staging_vars.yml b/configure/group_vars/staging_vars.yml index bc2d1af..18379a9 100644 --- a/configure/group_vars/staging_vars.yml +++ b/configure/group_vars/staging_vars.yml @@ -40,7 +40,7 @@ scheduled_job_trigger_misfire_threshold: "2700000" scheduled_job_repeat_interval: "60" avni_server_host: "localhost" avni_server_port: "8021" -avni_server_opts: " -Dnewrelic.environment={{ newrelic_environment }} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file={{avni_server_access_log_dir}}/chs.log -Dlogging.path={{avni_server_access_log_dir}} -Dlogging.file.max-size=5mb -Dlogging.file.max-history=90 -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=\"/bin/kill -9 %p\" -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" +avni_server_opts: " -Dnewrelic.environment={{ newrelic_environment }} -javaagent:/opt/newrelic/newrelic.jar -Dlogging.file.name={{avni_server_access_log_dir}}/chs.log -Dlogging.logback.rollingpolicy.max-file-size=5mb -Dlogging.logback.rollingpolicy.max-history=90 -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=\"/bin/kill -9 %p\" -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" avni_server_db_host: "stagingdb.openchs.org." avni_server_db_port: "5432" avni_server_db_schema: "public" diff --git a/configure/group_vars/vars.yml b/configure/group_vars/vars.yml index 778ce61..f70170e 100644 --- a/configure/group_vars/vars.yml +++ b/configure/group_vars/vars.yml @@ -18,7 +18,7 @@ int_server_opts: " --enable-preview" avni_server_host: "localhost" avni_server_port: "8021" -avni_server_opts: " -Dlogging.file={{avni_server_access_log_dir}}/chs.log -Dlogging.path={{avni_server_access_log_dir}} -Dlogging.file.max-size=5mb -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" +avni_server_opts: " -Dlogging.file.name={{avni_server_access_log_dir}}/chs.log -Dlogging.logback.rollingpolicy.max-file-size=5mb -Dlogging.logback.rollingpolicy.max-history=90 -Xmx1512m -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=\"/bin/kill -9 %p\" -XX:HeapDumpPath=/var/log/avni_server/ -XX:ErrorFile={{avni_server_access_log_dir}}/jvm.log -Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 -XX:-OmitStackTraceInFastThrow" avni_server_db_host: "10.0.2.2" avni_server_db_port: "5432" avni_server_db_schema: "public" @@ -30,7 +30,7 @@ avni_server_minio_url: "https://minio-staging.avniproject.org:442" avni_server_bugsnag_release_stage: "staging" avni_server_keycloak_url: "https://keycloak-staging.avniproject.org" avni_server_keycloak_enabled: "true" -avni_server_access_log_dir: "/var/log/avni_server/" +avni_server_access_log_dir: "/var/log/avni_server" avni_server_cache_max_entries: "100" avni_server_cache_ttl_seconds: "600" avni_server_cache_max_weight: "1000"