https://lakefs.io/ logo
#help
Title
# help
γ

Γιάννης Μαντιός

02/10/2023, 5:53 PM
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

Barak Amar

02/10/2023, 6:01 PM
Hi @Γιάννης Μαντιός - search for
AuditLogEndMessage
- it is part of httputil/logging.go.
The same middleware is used for our open-api and gateway endpoints.
i

Idan Novogroder

02/10/2023, 6:05 PM
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

Ariel Shaqed (Scolnicov)

02/10/2023, 6:40 PM
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
γ

Γιάννης Μαντιός

02/11/2023, 10:40 AM
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

Ariel Shaqed (Scolnicov)

02/11/2023, 11:00 AM
Cool! Let us know, here or on the issue or by DM to me, if we can help in any other way. Thanks...
8 Views