Fix dependency issues with rsyslog notify

Move rsyslog notifications and configs for openstack to rsyslog module

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add log_local[01] for HA & dashboard, set first stage for rsyslog

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix log_local2 conflict for swift and glance

Change default swift facility to LOG_SYSLOG

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add missed openstack facilities for logging class, del forcerestart

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Use rsyslog::imfile for rabbitmq

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add ha & dashboard logs to rotation

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix verbose and logging conf for horizon, add formatters

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Set rabbit's log_level = syslog_log_level global

Rabbit doesn't support syslog directly, thus its log level for rsyslog::imfile logfile monitor
should always be >= syslog_log_level, otherwise none rabbit's messages would have gone to syslog.

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add imfiles for rabbitmq startup/shutdown errors

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix debug-to-null logger for django.db

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Restore single example was mischanged

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge pull request #328 from bogdando/fix_todos

Add syslogging for dashboard and rabbit
Fix level NOTSET and root handlers for logging confs

level NOTSET, propagate = 1, and empty qualname would ensure all
qualnames and all messages would match the root logger

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Fix syslog facility for swift proxy template

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge pull request #331 from bogdando/fix_swiftfacility

Fix syslog facility for swift proxy template
Merge pull request #330 from bogdando/fix_facilities

Fix level NOTSET and root handlers for logging confs
Fix django: NOTSET level should be used for root logger only

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Merge pull request #332 from bogdando/fix_facilities

Fix django: NOTSET level should be used for root logger only
Set use_syslog for all HA examples

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>
Add limitsize for daily logrotate, add comments for examples

Log's size limit should be > minsize allowed for rotation (30M hardcoded).
Daily rotation should also include minsize to avoid small files being rotated

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>