Discussion:
[Openvpn-users] Logging
Sim Kim Sia
2007-03-06 00:32:07 UTC
Permalink
To all:

Hi,

may I ask how do I turn on logging for Open VPN?

Thank you.

Regards
Kim Sia

Extension: 3160

[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
moamahi
2007-03-06 08:03:32 UTC
Permalink
Post by Sim Kim Sia
Hi,
may I ask how do I turn on logging for Open VPN?
Thank you.
Regards
Kim Sia
Extension: 3160
[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
------------------------------------------------------------------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
------------------------------------------------------------------------
_______________________________________________
Openvpn-users mailing list
https://lists.sourceforge.net/lists/listinfo/openvpn-user
In the configuration file you should 2 lines:

1) log /path/to/logfile("log" will truncate the log file on OpenVPN
startup) or log-append /path/to/log/file ("log-append" will append to
it) use one of this
2) verb (0 4 5 9) Set the appropriate level of log file verbosity. 0 =
only fatal error 9=extremely verbose

Bye

moamahi
Ian Anderson
2007-03-06 16:58:30 UTC
Permalink
You might need to be a little more specific. By default openvpn logs to /var/log/messages (on a typical linux box) if you want to change that you will need to either change the "log " declaration within the server config (which has its own drawbacks) or better yet use syslog-ng and have it write the log entries to a separate file.

________________________________________
From: openvpn-users-***@lists.sourceforge.net [mailto:openvpn-users-***@lists.sourceforge.net] On Behalf Of Sim Kim Sia
Sent: Monday, March 05, 2007 4:32 PM
To: openvpn-***@lists.sourceforge.net
Subject: [Openvpn-users] Logging

To all:
 
Hi,
 
may I ask how do I turn on logging for Open VPN?
 
Thank you.
 
Regards
Kim Sia
 
Extension: 3160

[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---

Continue reading on narkive:
Loading...