<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi bls,</div><div class=""><br class=""></div><div class="">Configuration looks good. This is what I use.  Make sure you have saved to the correct file and that you have permission to write to /var/log</div><div class=""><br class=""></div><div class=""><pre style="background-color: rgb(255, 255, 255); font-family: Menlo; font-size: 9pt;" class="">cat <span style="color:#5a5a5a;font-style:italic;" class=""><<</span><span style="color:#000080;font-weight:bold;" class="">'EOF' </span><span style="color:#5a5a5a;font-style:italic;" class="">> /etc/strongswan.d/charon-systemd.conf<br class=""></span><span style="background-color:#e7ffb3;" class="">charon-systemd {<br class=""></span><span style="background-color:#e7ffb3;" class="">  filelog {<br class=""></span><span style="background-color:#e7ffb3;" class="">    /var/log/strongswan.log {<br class=""></span><span style="background-color:#e7ffb3;" class="">        time_format = %b %e %T<br class=""></span><span style="background-color:#e7ffb3;" class="">        flush_line = yes<br class=""></span><span style="background-color:#e7ffb3;" class="">        default = -1<br class=""></span><span style="background-color:#e7ffb3;" class="">        cfg = 2<br class=""></span><span style="background-color:#e7ffb3;" class="">        ike = 2<br class=""></span><span style="background-color:#e7ffb3;" class="">    }<br class=""></span><span style="background-color:#e7ffb3;" class="">  }<br class=""></span><span style="background-color:#e7ffb3;" class="">}<br class=""></span><span style="color:#000080;font-weight:bold;" class="">EOF</span></pre><div class=""><br class=""></div></div><br class=""><div><blockquote type="cite" class=""><div class="">On 8 Aug 2018, at 01:25, bls s <<a href="mailto:bls3427@outlook.com" class="">bls3427@outlook.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">I'm trying to enable strongswan logging in order to submit a question, but I can't seem to get logging set up correctly with swanctl.conf Here's what I added to swanctl.conf. How can I get logging enabled in this configuration? This is strongswan 5.6.3 on latest Raspbian/Debian.<span class="Apple-converted-space"> </span><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">Thanks!<br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">charon-systemd {<br class=""><div class="">    filelog {<br class=""></div><div class="">        /var/log/charon_debug.log {<br class=""></div><div class="">            time_format = %a, %Y-%m-%d %R<br class=""></div><div class="">            default = 2<br class=""></div><div class="">            mgr = 0<br class=""></div><div class="">            net = 1<br class=""></div><div class="">            enc = 1<br class=""></div><div class="">            asn = 1<br class=""></div><div class="">            job = 1<br class=""></div><div class="">            ike_name = yes<br class=""></div><div class="">            append = no<br class=""></div><div class="">            flush_line = yes<br class=""></div><div class="">        }<br class=""></div><span class=""></span>}</div></div></blockquote></div><br class=""></body></html>