[hipl-dev] [Bug 592157] Re: binary packages and log files

  • From: Fahad Aizaz <592157@xxxxxxxxxxxxxxxxxx>
  • To: hipl-dev@xxxxxxxxxxxxx
  • Date: Fri, 24 Jun 2011 10:06:42 -0000

SYSLOG facility LOCAL6 is being used in HIPL. As the name suggests, it
provides filtering based on facility. This lets the configuration file
specify that messages from this facility will be handled differently.

The different types of messages that can be configured in the configuration 
file (/etc/rsyslog.d/50-default.conf) are as follows:
LOG_EMERG        e.g. local6.emer
LOG_ALERT          e.g local6.alert
LOG_CRIT              e.g local6.crit
LOG_ERR               e.g local6.err
LOG_WARNING    e.g local6.warn
LOG_NOTICE         e.g local6.notice
LOG_INFO              e.g local6.info
LOG_DEBUG          e.g local6.debug

and for all: local6.*

Other than this, program/application name based filtering is part of
syslog. Output log files can be specified in configuration file
(/etc/rsyslog.conf) based on application name by creating filter.

http://wiki.rsyslog.com/index.php/Filtering_by_program_name

For futher information, documentation for syslog can be referred to:
http://www.rsyslog.com/doc/manual.html

-- 
You received this bug notification because you are a member of HIPL core
team, which is subscribed to HIPL.
https://bugs.launchpad.net/bugs/592157

Title:
  binary packages and log files

Status in Host Identity Protocol for Linux:
  Confirmed

Bug description:
  Rpm/deb packages should create a new log file for each daemon.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hipl/+bug/592157/+subscriptions

Other related posts: