Strongswan.conf filelog: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Thomas (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „charon { load_modular = yes filelog { /var/log/strongswan/charon.log { time_format = %b %e %T append = yes…“
 
Keine Bearbeitungszusammenfassung
 
(3 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
charon {
*mkdir /var/log/strongswan
<pre>
charon {  
         load_modular = yes
         load_modular = yes
         filelog {
         filelog {
         /var/log/strongswan/charon.log {
         /var/log/charon.log {
             time_format = %b %e %T
             time_format = %b %e %T
             append = yes
             append = yes
Zeile 22: Zeile 24:
}
}
include strongswan.d/*.conf
include strongswan.d/*.conf
</pre>
=in /etc/strongswan.conf=
<pre>
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
</pre>

Aktuelle Version vom 15. Dezember 2022, 12:42 Uhr

  • 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