Skip to content

Conversation

@MorrisJobke
Copy link
Member

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

@mention-bot
Copy link

@MorrisJobke, thanks for your PR! By analyzing the annotation information on this pull request, we identified @LukasReschke, @bartv2 and @MTGap to be potential reviewers

Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff :)

@LukasReschke
Copy link
Member

LGTM

@MorrisJobke MorrisJobke added this to the Nextcloud 11.0 milestone Sep 29, 2016
@blizzz
Copy link
Member

blizzz commented Sep 29, 2016

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
Copy link
Member

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.

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
Copy link
Member

I can see the point, but I don't really like to invoke yet another class when writing a log.

@LukasReschke
Copy link
Member

I can see the point, but I don't really like to invoke yet another class when writing a log.

IConfig is already used in that function, maybe manually read from the config version?

@MorrisJobke
Copy link
Member Author

I can see the point, but I don't really like to invoke yet another class when writing a log.

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
Copy link
Member Author

@blizzz @nickvergessen Yes or no? I would love to see this included.

@MorrisJobke
Copy link
Member Author

Maybe others also have an opinion on this? @schiessle @rullzer @icewind1991

@nickvergessen
Copy link
Member

I'm okay, when we use $config->getValue('version') so no session stuff is called, etc.

@MorrisJobke
Copy link
Member Author

I'm okay, when we use $config->getValue('version') so no session stuff is called, etc.

Done :)

@nickvergessen
Copy link
Member

👍

@nickvergessen nickvergessen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 6, 2016
@MorrisJobke MorrisJobke merged commit ead4cb9 into master Oct 6, 2016
@MorrisJobke MorrisJobke deleted the log-version branch October 6, 2016 12:44
@MorrisJobke
Copy link
Member Author

stable10: #1646
stable9: #1647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants