diff options
Diffstat (limited to 'packages/strongswan-maemo/debian/patches/configure-logging.patch')
-rw-r--r-- | packages/strongswan-maemo/debian/patches/configure-logging.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/strongswan-maemo/debian/patches/configure-logging.patch b/packages/strongswan-maemo/debian/patches/configure-logging.patch new file mode 100644 index 000000000..f489a2d45 --- /dev/null +++ b/packages/strongswan-maemo/debian/patches/configure-logging.patch @@ -0,0 +1,25 @@ +Adding maemo specific logger config (as there is no syslog daemon by default). +--- a/src/strongswan.conf ++++ b/src/strongswan.conf +@@ -5,6 +5,21 @@ + retransmit_timeout = 3.0 + retransmit_base = 1.4 + ++ # maemo specific logging ++ filelog { ++ /var/log/charon.log { ++ time_format = %b %e %T ++ append = no ++ default = 1 ++ flush_line = yes ++ } ++ } ++ # there is no syslog daemon installed by default ++ syslog { ++ daemon { ++ } ++ } ++ + # number of worker threads in charon + threads = 16 + |