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

On Centos 7, unix protocol does not aprear to work as udp #119

Open
a-boulafia opened this issue Sep 5, 2019 · 0 comments
Open

On Centos 7, unix protocol does not aprear to work as udp #119

a-boulafia opened this issue Sep 5, 2019 · 0 comments

Comments

@a-boulafia
Copy link

Hello,
Sending the same message using unix and upd protocol does not result in the same log message in /var/log/message
eg; :
With the udp protocol:
Sep 5 15:39:36 devcoll01 testNodeJs[2203]: [error] helloWorld
With the unix protocol:
Sep 5 15:44:41 devcoll01 journal: devcoll01 testNodeJZZs[2545]: helloWorld
here are the options i'm using :

unix options:
{protocol:'unix-connect',path:'/dev/log',facility:'local6', app_name:'testNodeJZZs',eol:'\n',type:'BSD'}
udp:
{protocol:'udp', host:'localhost',facility:'local6',app_name:'testNodeJs',localhost:os.hostname() ,type: 'BSD'}

i cannot figure out why it does not work

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

1 participant