Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Print client IP on logs #132

Open
edevil opened this issue Mar 3, 2013 · 2 comments
Open

Print client IP on logs #132

edevil opened this issue Mar 3, 2013 · 2 comments

Comments

@edevil
Copy link

edevil commented Mar 3, 2013

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
Copy link

+1

@mfischer-zd
Copy link

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants