{"id":3687,"date":"2017-11-06T18:36:19","date_gmt":"2017-11-06T16:36:19","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/?p=3687"},"modified":"2017-11-06T18:36:19","modified_gmt":"2017-11-06T16:36:19","slug":"redirecting-signal-desktops-log-from-syslog-to-a-separate-file","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2017\/11\/06\/redirecting-signal-desktops-log-from-syslog-to-a-separate-file\/","title":{"rendered":"Redirecting Signal Desktop&#8217;s log from syslog to a separate file"},"content":{"rendered":"<p>After switching from the old Chrome app to the new Signal Desktop app, my syslog began to get spammed with lines containing stuff like &#8220;Sending a keepalive message&#8221;.<\/p>\n<p>They seemingly come from gnome-session, but it&#8217;s actually Signal operating under gnome-session. Not having the actual application name for filtering, I just made a slightly hackish <code>\/etc\/rsyslog.d\/20-redirect-signal.conf<\/code> with the following contents:<\/p>\n<pre><code>:msg,contains,\"{\\\"name\\\":\\\"log\\\",\\\"hostname\\\":\\\"saegusa\\\"\" -\/var\/log\/signal-desktop.log \r\n&amp; stop<\/code><\/pre>\n<p>(Where saegusa is my hostname; you should obviously change this to match yours.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After switching from the old Chrome app to the new Signal Desktop app, my syslog began to get spammed with lines containing stuff like &#8220;Sending a keepalive message&#8221;. They seemingly come from gnome-session, but it&#8217;s actually Signal operating under gnome-session. Not having the actual application name for filtering, I just made a slightly hackish \/etc\/rsyslog.d\/20-redirect-signal.conf [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3687","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=3687"}],"version-history":[{"count":2,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3687\/revisions"}],"predecessor-version":[{"id":3689,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/3687\/revisions\/3689"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=3687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=3687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=3687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}