{"id":8759,"date":"2022-03-12T15:45:45","date_gmt":"2022-03-12T20:45:45","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=8759"},"modified":"2022-03-12T16:01:16","modified_gmt":"2022-03-12T21:01:16","slug":"not-finding-the-rygel-log-file","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=8759","title":{"rendered":"(Not) Finding the Rygel Log File"},"content":{"rendered":"<p>We&#8217;ve spent a lot of time trying to get a log file from the rygel server &#8230; setting the log level in the config file didn&#8217;t seem to do anything useful. And I cannot even <em>find<\/em> a log file. The only output we&#8217;re able to find is formed by running the binary from the command line. Where is that log file?!? <a href=\"https:\/\/www.mail-archive.com\/rygel-list@gnome.org\/msg01134.html\" target=\"_blank\" rel=\"noopener\">Hey &#8212; there isn&#8217;t one.<\/a> All of this log level setting has to do with what&#8217;s written to STDOUT and STDERR. You can either modify the unit file to tee the output off to a file or run it from the command line<\/p>\n<p>To get debugging output, use<\/p>\n<p><tt>G_MESSAGES_DEBUG=all\u00a0rygel\u00a0-g\u00a05<\/tt><\/p>\n<p>To tee the output off to a file,<br \/>\n<tt>rygel -g *:5 2&gt;&amp;1 | tee -a \/path\/to\/rygel.log<\/tt><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;ve spent a lot of time trying to get a log file from the rygel server &#8230; setting the log level in the config file didn&#8217;t seem to do anything useful. And I cannot even find a log file. The only output we&#8217;re able to find is formed by running the binary from the command &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,30],"tags":[1555],"class_list":["post-8759","post","type-post","status-publish","format-standard","hentry","category-home-automation","category-system-administration","tag-rygel"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8759"}],"version-history":[{"count":2,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8759\/revisions"}],"predecessor-version":[{"id":8761,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/8759\/revisions\/8761"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}