Strongswan.conf filelog

Aus xinux.net
Zur Navigation springen Zur Suche springen
  • mkdir /var/log/strongswan
charon { 
        load_modular = yes
        filelog {
        /var/log/charon.log {
            time_format = %b %e %T
            append = yes
            ike_name = yes
            ike = 1
            enc = 1
            cfg = 2
            default = 0
            flush_line = yes
       }
        stderr {
            ike = 2
            knl = 3
        }
        }
      plugins {
                include strongswan.d/charon/*.conf
        }
}
include strongswan.d/*.conf


in /etc/strongswan.conf

charon {
        load_modular = yes
        filelog {
        charon {
           path = /var/log/charon.log
           time_format = %b %e %T
           append = yes
           ike_name = yes
           ike = 1
           enc = 1
           cfg = 2
           default = 0
           flush_line = yes
       }
        stderr {
            ike = 2
            knl = 3
        }
        }
      plugins {
                include strongswan.d/charon/*.conf
        }
}
include strongswan.d/*.conf