binary packages and log files

Bug #592157 reported by Miika Komu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HIPL
Confirmed
High
Unassigned

Bug Description

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

Revision history for this message
René Hummen (rene-hummen) wrote :

Can someone please give more detailed information about this bug...

Changed in hipl:
assignee: nobody → Samuel Richter (samuel-richter)
Revision history for this message
Miika Komu (miika-iki) wrote :

Installation of a binary file (.deb, .rpm) should create a separate log file for the corresponding software (hipd, hipfw, dnsproxy). For example, when I install hipd-xx.deb, it should create /var/log/hipd.log and start logging into that, assuming the daemon is started on background

This feature could be also embedded into the daemon itself to make it more distro independent.

Changed in hipl:
status: New → In Progress
importance: Undecided → Low
Changed in hipl:
importance: Low → Medium
assignee: Samuel Richter (samuel-richter) → nobody
status: In Progress → Confirmed
importance: Medium → High
Revision history for this message
Fahad Aizaz (fahad-aizaz) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.