Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setFacility with a number <> string #38

Open
jarnix opened this issue Apr 13, 2016 · 1 comment
Open

setFacility with a number <> string #38

jarnix opened this issue Apr 13, 2016 · 1 comment

Comments

@jarnix
Copy link

jarnix commented Apr 13, 2016

Hi,
(maybe it's something I did not understand in the docs)

I need to log to local3.info

This code does not work:

syslog.setFacility(3)
syslog.info('test')

This one does:

syslog.setFacility('local3')
syslog.info('test')
@phuesler
Copy link
Owner

According to the table, local3 is assigned to the number 19. Can you try that?

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

No branches or pull requests

2 participants