[dvblast-devel] Patch adding current time in front of debug messages.

Andy Gatward andy.gatward at googlemail.com
Tue Oct 12 10:02:07 CEST 2010


On 11 October 2010 22:58, Christophe Massiot <cmassiot at openheadend.tv> wrote:

> Well IMHO this should only be enabled if you're not syslog'ing your output, because the timestamping would be then redundant. Also it can be counter-productive in some cases: when there is a discontinuity we just print "TS discontinuity", and that's intended because if you're using syslog, it will just log "last message repeated 42000 times" and avoid filling up your hard drive. If you timestamp the output (or print the continuity counters like we used to do), then they will be different lines and they will all be written.

Agreed, in production environments logging should be configured
through syslog, which also gives the benefit on most modern GNU/Linux
distributions of having log cycling and archiving.

Andy.


More information about the dvblast-devel mailing list