stud icon indicating copy to clipboard operation
stud copied to clipboard

Print client IP on logs

Open edevil opened this issue 12 years ago • 2 comments

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?

edevil avatar Mar 03 '13 09:03 edevil

+1

mfischer-zd avatar Jun 20 '13 20:06 mfischer-zd

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

mfischer-zd avatar Jun 20 '13 20:06 mfischer-zd