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

Logging to syslog even when set to syslog = off? #187

Closed
stbc opened this issue Jul 5, 2017 · 2 comments
Closed

Logging to syslog even when set to syslog = off? #187

stbc opened this issue Jul 5, 2017 · 2 comments
Assignees
Labels

Comments

@stbc
Copy link

stbc commented Jul 5, 2017

Hi everybody,

I got hitch running from the Debian backports repo. Although it states

syslog = off

in the hitch.conf, hitch still logs to syslog:

Jul  5 08:03:57 machine hitch[767]: 13x.xxx.xxx.xxx:64751 :0 15:16 Handshake failure: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
Jul  5 08:04:01 machine hitch[766]: 13x.xxx.xxx.xxx::52882 :0 14:15 Handshake failure: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol
Jul  5 08:04:01 machine hitch[767]: 13x.xxx.xxx.xxx::51035 :0 15:16 Handshake failure: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol

Is that a bug? Or it is supposed to be that way....?!

It would be nice to let hitch write those messages (and there are loads) to a separate log file

@dmatetelki dmatetelki added the bug label Oct 2, 2017
@dmatetelki
Copy link
Contributor

dmatetelki commented Oct 11, 2017

Let me take a look.

@dmatetelki dmatetelki self-assigned this Oct 11, 2017
dmatetelki added a commit that referenced this issue Oct 12, 2017
 * Not turning on syslog when daemonizing (bugfix)
 * Making log-filename, recv-bufsize and send-bufsize parameters available
though command line and mentioning them in the help (finishing incomplete
feature)
@dmatetelki
Copy link
Contributor

Hi @stbc,

The problem was that hitch turned logging to syslog on at daemonizing.
You can specify a logfile now with --log-filname=FILE

dmatetelki added a commit that referenced this issue Oct 12, 2017
 * Not turning on syslog when daemonizing (bugfix)
 * Making log-filename, recv-bufsize and send-bufsize parameters available
though command line, config file and mentioning them in the help
(finishing incomplete feature)
dmatetelki added a commit that referenced this issue Oct 20, 2017
 * Not turning on syslog when daemonizing (bugfix)
 * Making log-filename, recv-bufsize and send-bufsize parameters available
though command line, config file and mentioning them in the help
(finishing incomplete feature)
dmatetelki added a commit that referenced this issue Oct 20, 2017
 * Not turning on syslog when daemonizing (bugfix)
 * Making log-filename, recv-bufsize and send-bufsize parameters available
though command line, config file and mentioning them in the help
(finishing incomplete feature)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants