iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Bug] `enable_audit_log` configuration not taking effect - always shows false despite correct setup

Open advccyang opened this issue 2 months ago • 1 comments

Search before asking

  • [x] I searched in the issues and found nothing similar.

Version

  • Versions Tested: 2.0.5, 2.0.4, 2.0.3, 1.3.4-1 (standalone mode)
  • Deployment: Docker (apache/iotdb:*-standalone images)

Describe the bug and provide the minimal reproduce step

  1. Set configuration via environment variable or in iotdb-system.properties:
environment:
  - enable_audit_log=true
  1. Check runtime configuration:
docker logs iotdb-service 2>&1 | grep -i "enableAuditLog"

What did you expect to see?

Expected:

enableAuditLog=true;

What did you see instead?

Actual:

enableAuditLog=false;

Anything else?

  1. Configuration file contains enable_audit_log=true correctly
  2. Startup log shows: append enable_audit_log=true /iotdb/conf/iotdb-system.properties
  3. But runtime always shows: enableAuditLog=false;
  4. Audit log file /iotdb/logs/log_datanode_audit.log is created but remains empty

Are you willing to submit a PR?

  • [ ] I'm willing to submit a PR!

advccyang avatar Nov 07 '25 02:11 advccyang

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Nov 07 '25 02:11 github-actions[bot]