Hi everyone! I was wondering where logs such as th...
# help
γ
Hi everyone! I was wondering where logs such as the ones mentioned in this issue https://github.com/treeverse/lakeFS/issues/4261 are stored? I am trying to contribute to that issue and I can't for the life of me trace them down after doing any kind of operation.
b
Hi @Γιάννης Μαντιός - search for
AuditLogEndMessage
- it is part of httputil/logging.go.
The same middleware is used for our open-api and gateway endpoints.
i
Hi @Γιάννης Μαντιός, Thanks for your contribution! I guess that you can't see this log because the log in the example here is an audit log which by default is in DEBUG level and the default log level of lakeFS is INFO. You can change the level of
logging.audit_log_level
so you will able to get these logs too. You can see it in the lakeFS configuration reference.
👍🏼 1
a
Hi @Γιάννης Μαντιός, Thanks for taking the issue! My issue so I guess my phrasing is bad, sorry about that! These are logs on the lakeFS server side. How are you running lakeFS?
😆 1
γ
hi @Ariel Shaqed (Scolnicov). I was able to produce some logs with the DEBUG level set. To answer your question, I cloned the main branch from github and built the binaries on my machine
a
Cool! Let us know, here or on the issue or by DM to me, if we can help in any other way. Thanks...