bumptech / stud

The Scalable TLS Unwrapping Daemon
Other
1.43k stars 193 forks source link

Print client IP on logs #132

Open edevil opened 11 years ago

edevil commented 11 years ago

It's very hard to correlate connection problems by comparing the stud log with the backend log:

{client} Connection closed (in data)
{backend} Connection closed

Messages like these would be much more helpful if the client IP was included, and maybe a timestamp could be added as well?

mfischer-zd commented 11 years ago

+1

mfischer-zd commented 11 years ago

@edevil, timestamps can be added by running stud via runit, and logging via svlogd with the -tt option. Alternatively you can use the -s option to send logs to syslog.