Skip to content

setFacility with a number <> string #38

@jarnix

Description

@jarnix

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions