I’m having trouble accessing historical logs from an eventing function. Its handy that the UI displays the last couple lines of logs, but I need access to logs further back in time than the UI shows. I’ve read that these should be accessible at this path on the machine /opt/couchbase/var/lib/couchbase/data/@eventing/<<function_name>>.log, but when I navigate to the ‘data’ folder it is empty. Has anyone else ran into this issue or can offer some guidance? Thanks in advance.
The data folder contains the couchbase data files for buckets, indexes etc. If you are finding it is empty, that would seem that directory structure was never used(?). Perhaps your eventing log files are on a different machine? Or in a different directory? (my Couchbase/var/lib/couchbase directory is under my users home directory).
Thanks for the response. Based on your comments, I did some more searching and I was able to find the logs in root/mnt/datadisk/eventing/@eventing. Not sure how they ended up there or why the file path is as such, but I was able to find the logs I needed.