From b14dac3ad3a024a389a07e758b3f7516d7444351 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Thu, 7 Jul 2022 16:15:40 +0300 Subject: [PATCH 1/2] Removed unused audit log config settings --- application/src/main/resources/thingsboard.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/application/src/main/resources/thingsboard.yml b/application/src/main/resources/thingsboard.yml index 9b458734f7..2221c27ef0 100644 --- a/application/src/main/resources/thingsboard.yml +++ b/application/src/main/resources/thingsboard.yml @@ -545,10 +545,6 @@ spring: audit-log: # Enable/disable audit log functionality. enabled: "${AUDIT_LOG_ENABLED:true}" - # Specify partitioning size for audit log by tenant id storage. Example MINUTES, HOURS, DAYS, MONTHS - by_tenant_partitioning: "${AUDIT_LOG_BY_TENANT_PARTITIONING:MONTHS}" - # Number of days as history period if startTime and endTime are not specified - default_query_period: "${AUDIT_LOG_DEFAULT_QUERY_PERIOD:30}" # Logging levels per each entity type. # Allowed values: OFF (disable), W (log write operations), RW (log read and write operations) logging-level: From 9c675dd17a942ea7832d45a8b98c333fc2423964 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Fri, 8 Jul 2022 17:27:37 +0300 Subject: [PATCH 2/2] Remove unused audit log configuration from test file --- dao/src/test/resources/application-test.properties | 2 -- 1 file changed, 2 deletions(-) diff --git a/dao/src/test/resources/application-test.properties b/dao/src/test/resources/application-test.properties index bf4178ec44..27f82f331c 100644 --- a/dao/src/test/resources/application-test.properties +++ b/dao/src/test/resources/application-test.properties @@ -5,8 +5,6 @@ zk.zk_dir=/thingsboard updates.enabled=false audit-log.enabled=true -audit-log.by_tenant_partitioning=MONTHS -audit-log.default_query_period=30 audit-log.sink.type=none cache.type=caffeine