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

pdbtool: If a test message has no program attribute, warn when verbose #43

Closed
wants to merge 1 commit into from

Conversation

algernon
Copy link
Contributor

When encountering a test message that has no program attribute, warn
about it when verbose mode is on. The rationale for only doing it in
verbose mode is that there are valid reasons for having no program
attribute for a test (to temporarily disable it, for example), and we
don't want to needlessly spew a lot of warnings at the user.

Reported-by: Fabien Wernli bugzilla.balabit@faxm0dem.org
Signed-off-by: Gergely Nagy algernon@balabit.hu

When encountering a test message that has no program attribute, warn
about it when verbose mode is on. The rationale for only doing it in
verbose mode is that there are valid reasons for having no program
attribute for a test (to temporarily disable it, for example), and we
don't want to needlessly spew a lot of warnings at the user.

Reported-by: Fabien Wernli <bugzilla.balabit@faxm0dem.org>
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
@bazsi
Copy link
Collaborator

bazsi commented Dec 25, 2013

Hi,

I have merged my alternate implementation, that adds further error checks to pdbtool and disables on-console timestamp printing for pdbtool and similar tools.

I'll keep this PR open as long as we've cleared up the case with 3.4 and 3.5

Thanks.

@algernon
Copy link
Contributor Author

I will merge the updated versions for 3.4 and 3.5 later today, so they'll be part of the next release (in a few months). Thanks!

@bazsi
Copy link
Collaborator

bazsi commented Jan 7, 2014

Do you need this PR to track the 3.4/3.5 stuff? it's bothering me a little, but not too much.

I just want to avoid cluttering the PR list with unattended items. It is already scheduled to the "postponed items" but still...

if it helps you in any way it should stay.

@algernon
Copy link
Contributor Author

algernon commented Jan 7, 2014

Yes, please keep this open for a bit longer. I have so much stuff going on that I need a reminder.

@algernon
Copy link
Contributor Author

Finally merged the correct patch to 3.4 and 3.5 master, so closing this one.

@algernon algernon closed this Jan 27, 2014
@algernon algernon deleted the merge/bz/263-pdb-program-check branch January 27, 2014 14:17
szemere pushed a commit to szemere/syslog-ng that referenced this pull request Jul 2, 2020
added instructions for getting python and java destinations to work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants