aboutsummaryrefslogtreecommitdiffstats
path: root/packages/maemo-strongswan/debian/patches/configure-logging.patch
blob: f489a2d450864a3569b6142930b670797669cb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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