[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] Modify log location and/or log priority

  • Subject: Re: [Openvpn-users] Modify log location and/or log priority
  • From: Christoph Haas <email@xxxxxxxxxxxxxxxxx>
  • Date: Sun, 27 May 2007 07:28:58 +0200

On Sat, May 26, 2007 at 07:09:07PM -0700, ournixnation@xxxxxxxxx wrote:
> I have openvpn running as a service on my centos server and it seems to log to
> the default /var/log/messages file. My question is this: how do I change the
> log priority of the openvpn messages, so I can tell syslog to log those
> messages to a certain file, or how do I change the log location so openvpn logs
> directly to a specified file.

You can use an advanced syslogging daemon like syslog-ng that can write
log files for specific "program names". The program name of OpenVPN can
also be customized with the "daemon" configuration setting. Or use
OpenVPN's "log" option.


Openvpn-users mailing list