2009/5/20 Arjen de Korte <[email protected] <nut%[email protected]>>
> Citeren Arnaud Quette <[email protected]>: > > Log: >>>> Enable timestamp on output messages (format "%H:%M:%S: msg") >>>> >>>> I think this should only be done for messages that are sent to stderr. >>> In >>> most cases, syslog will already prepend a timestamp, so this is probably >>> redundant. >>> >>> right, I missed that point in the end. >> I'll jump on your other mail on that point... >> > > I already have a patch waiting to change this. It prepends the elapsed time > (seconds and microseconds) since the first upsdebug() command by default > without requiring any additional command line options. We're probably more > interested in the elapsed time since the program started anyway, instead of > wall clock time when debugging something. > right, it's best for our use case. a good thing would be to add the start time (at driver startup) or an option to turn this into timestamps when debugging cross components (like driver-upsd communication) to avoid recalculation. do you need an action on my side to revert the previous timestamp patch? cheers, Arnaud -- Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://www.debian.org Free Software Developer - http://arnaud.quette.free.fr/
_______________________________________________ Nut-upsdev mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev
