-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
/build docker |
3 similar comments
/build docker |
/build docker |
/build docker |
/retest |
/build docker |
/build docker |
/build docker |
/build docker |
This is kind of annoying that it is at the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay, logging! Looks reasonable at first glance. We should decide on a style for the fields, as they're now a mix of lowercase
(maybe snake_case
?) and CamelCase
. Personally I prefer snake_case
.
Awesome! I tested the build and it definitely fixes #122. I noticed that several logs appear multiple times, even though they should be logged only once, like:
I also noticed that |
I've also noticed the spamming, though it is mostly out of our control (being inside controller-runtime). I've been following the community guidelines on levels where they just have a |
@mthssdrbrg @sebastianroesch I've just added b047eac which offsets all controller-runtime logs by 3 levels, so the logs that were Not sure I 100% like this though so let me know what you think |
/build docker |
/build docker |
I really like the new structure in general, thanks @JoelSpeed for all the yak shaving involved. One observation: |
/build docker |
@sebastianroesch FYI I've fixed the duplicate logging issue in my last push
@gargath in general I agree with you and for the most part in Faros we have that, however, that particular example that you have I can do very little about unfortunately. We post this message and then call |
/retest |
@mthssdrbrg Good spot on those inconsistencies, have fixed |
This PR intends to improve debug logging throughout the Faros codebase.
It introduces the
logr
framework andklog
logging to allow more structured and levelled logging throughout the codebase.I've also changed the logging so that it should log by default to
stdout
and only log tostderr
for actual errors or if--logtostderr=true
is passed CC @sebastianroeschI've built an image which I'm going to test internally
quay.io/pusher/faros:pull-114
This is pretty much exclusively conversion at the moment and doesn't actually add that much in the way of logging, but I think we need to work out what extra logs we want
Fixes #122 (?)