Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #158: first log messages missing in log file #264

Merged
merged 2 commits into from
Jun 27, 2016

Conversation

mbehr1
Copy link
Contributor

@mbehr1 mbehr1 commented Jun 26, 2016

Fixed #158 with a temp. buffer. This way you don't need to take care about parsing twice and even the earliest log messages (like the version) get nicely printed.
Dumped version to 0.5.5

@@ -58,6 +60,8 @@ Config_Options options; // global application options
bool gStop = false;
size_t gSkippedFailed = 0; // disabled or failed meters

std::stringbuf *gStartLogBuf = 0; // temporay buffer for print until logfile is opened
Copy link
Contributor

Choose a reason for hiding this comment

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

comment typo: temporary

@andig andig merged commit 6add4f1 into volkszaehler:master Jun 27, 2016
@mbehr1 mbehr1 deleted the pr153_log_msgs_lost branch October 3, 2017 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants