Logging levels

The ability to vary the verbosity of log output is useful when switching between a troubleshooting session and a normal operational session. The default logging level of 1 provides some useful informational logging level of 1 provides some useful informational logs along with the fatal errors indicative of a problem.

As of this writing, there are 108 different logging defines in the source, covered through 11 distinct verbosity levels. The majority of troubleshooting at an administrative level I've seen has not needed to go past verbosity 4 though there are exceptions, like when a firewall issue is suspected.

The following table provides a brief description of each level and provides the primary key log messages provided at that level. ...

Get Troubleshooting OpenVPN now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.