Menu

#69 Duplicate debug entries

1.0
closed
nobody
None
fixed,
2014-11-30
2014-11-23
Alec Leamas
No

release-0_9_2 branch: Logging defaults to console when using --nodaemon.

The expected behaviour is to log to syslog. As of now, log entries are duplicated on console.

It might make sense to kill logging (besides console) completely when using --nodaemon.

See mailing list thread

Discussion

  • Alec Leamas

    Alec Leamas - 2014-11-23

    This was introduced by me in [4342a2] on my birthday, whatever that means.

    It seems like the "extra" output was a fix for systemd not honoring the LOGPERROR syslog flag. Later, when systemd fixed LOGPERROR we got duplicated output.

     

    Related

    Commit: [4342a2]

  • Forage

    Forage - 2014-11-24

    Works as expected. Only "lircd-0.9.2pre1[562]:" entries are left without the need to set "--logfile=/dev/null".

     
  • Alec Leamas

    Alec Leamas - 2014-11-24

    Thanks for feedback!

    That said, the question now is how many old systemd installations there are out there. We will release this some 6 months after systemd in Fedora was fixed, so it should bre reasonably safe. Time to cherry-pick to the release branch: [25c5e3]

     

    Related

    Commit: [25c5e3]

  • Alec Leamas

    Alec Leamas - 2014-11-30
    • status: open --> closed
    • Resolution: na, --> fixed,
     
  • Alec Leamas

    Alec Leamas - 2014-11-30

    Released in 0.9.2pre2, closing.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.