Write lrmd logs to the /var/log/lrmd.log on controllers.
Also disabled collecting all pacemaker logs into /var/log/pacemaker.log
because Pacemaker already does that itself. In our installation rsyslog
does not write that file because in most cases Pacemaker creates it
first. For example, see the file's owner in any env, it will be
hacluster, not syslog.
Closes-Bug: #1661003
Change-Id: I0acb59a43bd856b1689918a7cf066624efa13a63
This change moves the 'imfile' module loading to the separate one
configuration file and fix the rsyslogd-2307 [0] in all snippets.
[0] http://www.rsyslog.com/e/2307
Change-Id: I4e90f752ccc7eddda22df082e4c6248c2c40fe9f
Closes-Bug: #1598625
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
rsyslogd version 7.x (which is shipped with Ubuntu 14.04) does not support
comments inside multi-line statements:
if ($programname == 'foo') \
# some comment here
then -/var/log/foo.log
rsyslogd treats such a comment as a fatal error and refuses to start.
Remove those broken comments to avoid the error.
Change-Id: I7f5efc9ec5096777b58f7ec6576947d1d36d8ecd
* Sync log_dir/log_file/use_syslog usage from upstream in order to
use the same logging guidelines for all OS modules in Fuel as well
* Add new use_syslog_rfc_format option in addition to use_syslog in
order to ensure RFC5424 comliant logging to syslog for all OS services
* Add section for handling the deprecated things in OS logging class
* Fix remote logs matching for multiline messages
(Use octet-framing at sender side)
* Simplify matching logic (&~) for remote logs processing
* Remove artificial separation for DEBUG and other OS logging cases
* Remove unneeded anymore imfile::templates
* Remove unneeded anymore python log configs templates for OS and
syslog_log_level option used for its log configs as well
* Remove artificial logging w/a for Neutron and its imfile templates
* Fix ceilometer facility to LOCAL0 and its facility parameter usage
* Move Fuel customizations from rsyslog module to openstack
* Move custom logging templates and configuration
* Move checksum_udp and use rsyslog port as a class var
* Keep custom port and escapenewline vars for rsyslog module,
* Disable RELP package for syslog module unless it would be used in Fuel
* Fix identations...
Implemenets step2 for blueprint refactor-logging-puppet-openstack-services
Change-Id: Ie20725b9c91584311350a520107a79a4828937bc
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>