Uh oh!
There was an error while loading. Please reload this page.
log version number in each log line - #1562
Conversation
mention-bot
commented
Sep 28, 2016
@MorrisJobke, thanks for your PR! By analyzing the annotation information on this pull request, we identified @LukasReschke, @bartv2 and @MTGap to be potential reviewers |
82a22f7 to
831b6afCompareLukasReschke
commented
Sep 28, 2016
LGTM |
Personally, I don't like it, it's an excuse for doing proper bug reports. If version is missing, then other necessary information is probably missing, too, and you'd need to ask for other stuff anyway. ±0 |
LukasReschke
commented
Sep 29, 2016
It's also helpful in case you want to quickly take a look in your log monitoring systems when an error appeared and on what versions :) … not really super awesome to always have to look up when one updated etc… |
nickvergessen
commented
Sep 29, 2016
I can see the point, but I don't really like to invoke yet another class when writing a log. |
LukasReschke
commented
Sep 29, 2016
IConfig is already used in that function, maybe manually read from the config version? |
MorrisJobke
commented
Sep 29, 2016
I also checked it and all it does it reads the current session. And the version is loaded anyways before. I feared also to add another dependency there, but it would really help to make looking at logs easy - especially when doing upgrade testing. |
MorrisJobke
commented
Oct 5, 2016
@blizzz@nickvergessen Yes or no? I would love to see this included. |
MorrisJobke
commented
Oct 5, 2016
Maybe others also have an opinion on this? @schiessle@rullzer@icewind1991 |
nickvergessen
commented
Oct 6, 2016
I'm okay, when we use |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke
commented
Oct 6, 2016
Done :) |
nickvergessen
commented
Oct 6, 2016
👍 |
Makes it a lot easier to analyze log files, because then you see if the log was fixed with a recent version or was caused by a recent version for example.
cc @nickvergessen@LukasReschke@schiessle@blizzz