On Fri, Aug 12, 2005 at 11:58:43AM -0400, Preston Crow wrote:
> I've noticed that the backend log doesn't have timestamps, but the
> frontend log does.  Would it be a big deal to add them?
> 
> It looks like it would require some work on the function av_log()
> with a scan through the string for newlines (at least one place uses
> multiple calls with only the last one having a newline).  The other
> option would be to require all log messages to be passed as a unit,
> cleaning up any place that sends partial lines.  I'm in favor of the
> second option.
> 
> I could give it a go if there's agreement that it's a good idea and
> someone more familiar with the code doesn't want to do it.

My backend logfile has timestamps:

        2005-08-12 11:24:48.978 MainServer::HandleAnnounce Playback
        2005-08-12 11:24:48.988 adding: myth as a client (events: 0)
        2005-08-12 11:24:53.367 MainServer::HandleAnnounce Playback
        2005-08-12 11:24:53.372 adding: myth as a client (events: 0)

I think it depends on whether the text in question was generated using
a call to cerr/printf (no timestamp) or VERBOSE (generates a
timestamp).

--Rob

Attachment: signature.asc
Description: Digital signature

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to