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

Bug894 #576

Merged
merged 4 commits into from Oct 7, 2013
Merged

Bug894 #576

merged 4 commits into from Oct 7, 2013

Conversation

regit
Copy link
Contributor

@regit regit commented Oct 3, 2013

This is an implementation of https://redmine.openinfosecfoundation.org/issues/894https://redmine.openinfosecfoundation.org/issues/894 (cleanup output).

The output in default notice verbosity (default in new YAML) is very light:

# bin/suricata -S etc/suricata/rules/reject.rules -i eth0  
[1009] 3/10/2013 -- 15:02:31 - (suricata.c:926) <Notice> (SCPrintVersion) -- This is Suricata version 2.0dev (rev 693c19e)
[1009] 3/10/2013 -- 15:02:31 - (tm-threads.c:2192) <Notice> (TmThreadWaitOnThreadInit) -- all 4 packet processing threads, 3 management threads initialized, engine started.
[1009] 3/10/2013 -- 15:02:32 - (suricata.c:2153) <Notice> (main) -- Signal Received.  Stopping engine.

More verbosity can be achieved via -v option (multiple v can be used).

Buildbot prbuild: https://buildbot.suricata-ids.org/builders/regit/builds/45

This patch updates the log level of meaningful start messages to
notice. It also sets the default log level to notice.
Initalizing output just after configuration file parsing allow to
log almost all messages accordingly to configuration.
This patch moves version display after log init so we can have an
homogeneous display.
This patch adds a -v option to suricata. It increases the log level
defined in the YAML.
@inliniac inliniac merged commit 2be194d into OISF:master Oct 7, 2013
@regit regit deleted the bug894 branch October 14, 2013 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants