[Bug] `enable_audit_log` configuration not taking effect - always shows false despite correct setup
- Ngôn ngữ chính
- Java
- Star
- 6.4k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 115
Mô tả
### 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!
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện cấu hình với Docker image độc lập apache/iotdb và kiểm tra /iotdb/conf/iotdb-system.properties, startup log và runtime output của enableAuditLog. Theo dõi cách enable_audit_log được nạp vào cấu hình runtime, sau đó xác minh rằng enableAuditLog trở thành true và /iotdb/logs/log_datanode_audit.log ghi lại các sự kiện kiểm toán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- docker, java
- Lĩnh vực
- databases
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100