You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "advccyang (via GitHub)" <gi...@apache.org> on 2025/11/07 02:35:50 UTC

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

advccyang opened a new issue, #16706:
URL: https://github.com/apache/iotdb/issues/16706

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/iotdb/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`:
   ```yaml
   environment:
     - enable_audit_log=true
   ```
   
   2. Check runtime configuration:
   ```bash
   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!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16706:
URL: https://github.com/apache/iotdb/issues/16706#issuecomment-3500250954

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 commented on issue #16706:
URL: https://github.com/apache/iotdb/issues/16706#issuecomment-3827869857

   If you want to use audit log in production environment, you can try [TimechoDB](https://www.timecho.com/) which is based on Apache IoTDB, and has a lot of security features for production usage.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

Posted by "JackieTien97 (via GitHub)" <gi...@apache.org>.
JackieTien97 commented on issue #16706:
URL: https://github.com/apache/iotdb/issues/16706#issuecomment-3827868331

   Actually, audit log hasn't been published in official version and we don't expect users to use it because there's no plans for this feature in the coming future versions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org