[Bug]: Log cannot be written into log file
Version
3.4.3
Describe the problem you're encountering
couchdb version: 3.4.3
I added the below config into /opt/couchdb/etc/local.d/xxx.ini file and reboot couchdb with
systemctl restart couchdb
[log]
file = /var/log/couchdb/couchdb.log
level = info
But still cannot see any logs come into "/var/log/couchdb/couchdb.log".
Could you share some debug ways for this issue? The couchdb itself runs well as I cann see the status good for "systemctl status couchdb"
Thank you very much!
Expected Behaviour
logs come into "/var/log/couchdb/couchdb.log"
Steps to Reproduce
No response
Your Environment
No response
Additional Context
No response
did you also set;
[log]
writer = file
to select the file output module?
https://docs.couchdb.org/en/stable/config/logging.html#log
writer = file
writer = file
Thanks a lot, I did not set this and after done this my database is able to see logs in files!