iotdb
iotdb copied to clipboard
[Bug] `enable_audit_log` configuration not taking effect - always shows false despite correct setup
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
- Set configuration via environment variable or in
iotdb-system.properties:
environment:
- enable_audit_log=true
- 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?
- Configuration file contains
enable_audit_log=truecorrectly - Startup log shows:
append enable_audit_log=true /iotdb/conf/iotdb-system.properties - But runtime always shows:
enableAuditLog=false; - Audit log file
/iotdb/logs/log_datanode_audit.logis created but remains empty
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!