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

Bugfix: fix windows logfile writing #2347

Merged
merged 1 commit into from
Jan 29, 2020
Merged

Bugfix: fix windows logfile writing #2347

merged 1 commit into from
Jan 29, 2020

Conversation

sparrc
Copy link
Contributor

@sparrc sparrc commented Jan 29, 2020

closes #2346

This line: <format id="windows" format="%Msg" /> was mistakenly removed in an intermediary commit during work on our logging changes. It was then re-added but the commit that added it back in was reverted to fix an unrelated bug (see #2337)

This change adds this line back into our seelog config and adds windows unit tests to prevent this happening in the future.

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Member

@fierlion fierlion left a comment

Choose a reason for hiding this comment

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

I'm glad to see the added tests here -- guard us from regressions.

@@ -0,0 +1,258 @@
// +build windows

// Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: 2014-2020

@sparrc sparrc merged commit d232a51 into aws:dev Jan 29, 2020
@sparrc sparrc added this to the 1.36.2 milestone Jan 29, 2020
@sparrc sparrc changed the title Fix windows eventlog log format Bugfix: fix windows logfile writing Jan 29, 2020
@sparrc sparrc deleted the issue-2346 branch January 31, 2020 18:22
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.

3 participants