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

Improve error message in Say() #98

Merged
merged 1 commit into from
Mar 26, 2014
Merged

Improve error message in Say() #98

merged 1 commit into from
Mar 26, 2014

Conversation

alja
Copy link
Contributor

@alja alja commented Mar 26, 2014

Print new line at the end of an error message and info about the format when vsnprinf fails.

Without new line the error message is confusing. E.g.the Dump msg in this example looks like it had an error, but it was the previous message that failed.

Error while processing a log message[2014-03-24 12:01:44.586263 -0700][Dump ][App ] Prefetch::ReadInBlocks ram = 0 file block = 1

@ljanyst ljanyst merged commit 63a9d59 into xrootd:master Mar 26, 2014
@alja alja deleted the clLogSay branch March 26, 2014 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants