Project

General

Profile

Issue #3399

Logging VPN

Added by Sulaiman Gilal 3 months ago. Updated 3 months ago.

Status:
Feedback
Priority:
Normal
Category:
configuration
Affected version:
5.8.4
Resolution:

Description

Dear Team,

Can you please guide me if there is any way to log each VPN connection separately in syslog.

I Have multiple VPNs running on same servers, but all logs are showing for charon, I would like to put charon-vpn-name in syslog, so each and every log can be separately identified.

If there is any way, please do let me know.

History

#1 Updated by Tobias Brunner 3 months ago

  • Category changed from charon to configuration
  • Status changed from New to Feedback
  • Assignee changed from Andreas Steffen to Tobias Brunner
  • Priority changed from Urgent to Normal

Can you please guide me if there is any way to log each VPN connection separately in syslog.

There isn't (unless you write your own logger plugin, although not all log messages will have a connection associated). But there is the ike_name option, which adds the name and a unique ID of a connection to the log messages (if this information is available). See LoggerConfiguration for details.

Also available in: Atom PDF