Bogdan Andu wrote:

> Hello,
> 
> 
> I have a reverse proxy based on relayd. however I am unable to see who
> accesses the server.
> 
> 
> general directive 'log all' writes the client_ip -> actual_web_server_ip
> in file /var/log/daemon which is enough but that file rotates to quickly
> and I do not want to change its default setup.
> 
> 
> How can I tell relayd to log in a file log other than /var/log/daemon ?
> 
> Thank you,
> 
> Bogdan

I can think of two ways:

1) use the -d switch and redirect the output to a file of your choice.

2) this may be more to your liking, add the following to /etc/syslog.conf:

!!relayd
*.*                                                     /var/log/relayd
!*

Make sure you have an empty log file, touch /var/log/relayd, and restart (or
maybe reload is good enough) syslogd.

Reply via email to