Skip to content

Conversation

valo
Copy link

@valo valo commented May 2, 2012

Made it possible to log to different facilities, by having multiple loggers. We use that in our application to route special messages from the main logging stream. We log most of the messages in the USER facility and a small fraction of special messages to LOCAL3.

The way this works is that the facility passed in the constructor is taken into account when logging a message.

Fixed the test to work after this change.

valo added 2 commits May 2, 2012 16:46
…nt facilities. The facility argument is taken into account when logging a message to the syslog and is not only used as a default when creating the syslog for the first time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants