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

Program name not displayed with Syslog logger #230

Closed
pepone opened this issue Oct 1, 2018 · 0 comments
Closed

Program name not displayed with Syslog logger #230

pepone opened this issue Oct 1, 2018 · 0 comments
Assignees
Milestone

Comments

@pepone
Copy link
Member

pepone commented Oct 1, 2018

int logopt = LOG_PID | LOG_CONS;
openlog(prefix.c_str(), logopt, _facility);

int logopt = LOG_PID | LOG_CONS;
openlog(prefix.c_str(), logopt, facility);

The calls to openlog are bogus, we are passing a dangling pointer

@pepone pepone added this to the 3.7.2 milestone Oct 1, 2018
@pepone pepone self-assigned this Oct 1, 2018
@pepone pepone closed this as completed in 34ac231 Oct 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant