You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Our builders, deployers, and the router need to stop using glog #5788
@Kargakis +1 I think by default we should keep the logs glog free unless there is an error logged. Also we should do this in sync with s2i changes, so everything below V(3) will not get the glog prefix and everything else does.
@bparees I don't hate the timestamps (they are useful) I just hate the sti.go:XYZ prefix which is not that useful for normal users and it is duplicated. The prefix also makes the log a little bit messy in the result for 'regular users'
Why a user should care about these info? I see how filenames and line
numbers are useful for debugging but these are logs that end up in clients
and people won't really have any use for them anyway.
Why a user should care about these info? I see how filenames and line numbers are useful for debugging but these are logs that end up in clients and people won't really have any use for them anyway.
because logs end up coming to us when things break and having to send the user back to recreate it so we can get the information is not a good experience.
I think this issue equally applies for the deployers and the router (we don't have any control over the registry logs or else they should be the same).
The rough use case is "when I want debug logs, I ask for debug logs, otherwise, show me the info I need". I don't think filename and warning level are for the normal case. I think those are debug. So someone has to ask for them.
Activity
mfojtik commentedon Nov 9, 2015
@Kargakis +1 I think by default we should keep the logs glog free unless there is an error logged. Also we should do this in sync with s2i changes, so everything below V(3) will not get the glog prefix and everything else does.
bparees commentedon Nov 9, 2015
@mfojtik you're not going to be able to do what you did in s2i because there are a ton of log statements you'd have to if/else.
bparees commentedon Nov 9, 2015
i don't know why you guys hate useful logging information so much.
mfojtik commentedon Nov 9, 2015
@bparees I don't hate the timestamps (they are useful) I just hate the sti.go:XYZ prefix which is not that useful for normal users and it is duplicated. The prefix also makes the log a little bit messy in the result for 'regular users'
0xmichalis commentedon Nov 9, 2015
Well, because --timestamps ?
bparees commentedon Nov 9, 2015
doesn't give me filenames or line numbers.
0xmichalis commentedon Nov 9, 2015
Why a user should care about these info? I see how filenames and line
numbers are useful for debugging but these are logs that end up in clients
and people won't really have any use for them anyway.
On Mon, Nov 9, 2015 at 5:20 PM, Ben Parees [email protected] wrote:
bparees commentedon Nov 9, 2015
because logs end up coming to us when things break and having to send the user back to recreate it so we can get the information is not a good experience.
mfojtik commentedon Nov 9, 2015
@bparees we can always just grep the line of code, I assume as we go the numbers in logs might not always reflect the reality
0xmichalis commentedon Dec 10, 2015
I think this issue equally applies for the deployers and the router (we don't have any control over the registry logs or else they should be the same).
[-]Our builders need to stop using glog[/-][+]Our builders, deployers, and the router need to stop using glog[/+]smarterclayton commentedon Feb 15, 2016
The rough use case is "when I want debug logs, I ask for debug logs, otherwise, show me the info I need". I don't think filename and warning level are for the normal case. I think those are debug. So someone has to ask for them.
0xmichalis commentedon May 11, 2016
#8787 updates our deployers
0xmichalis commentedon May 11, 2016
#8786 updates the builders
0xmichalis commentedon Jun 10, 2016
We still need to update the router logs @pweil- @ramr
smarterclayton commentedon Jun 10, 2016
Router can continue using glog. It's infra, not user facing. Same for
registry and keepalived.
On Jun 10, 2016, at 5:39 AM, Michail Kargakis [email protected]
wrote:
We still need to update the router logs @pweil- https://github.com/pweil-
@ramr https://github.com/ramr
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#5788 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABG_p9Z0Z6L5YuO-b3PqxOGnzwIDKimkks5qKTDHgaJpZM4Geg4y
.
0xmichalis commentedon Jun 10, 2016
Then this issue can be closed.