On Saturday 31 Mar 2012 03:53:09 Zlatin Balevsky wrote: > > > > But we use a static logging API anyway, and this works adequately well. I > > have debugged stuff largely through logs in multi-node simulators, I > > generally rely on the thread name to identify the node (e.g. the UDP > > receive and send thread include the port number in the thread name). > > > > It could become an issue when trying to reproduce rare concurrency > bugs that require running tests in a loop until they fail. The > smaller the synchronization overhead of the logging subsystem, the > less noise you introduce in the simulation as you increase > parallelism. It also runs faster and you reproduce the bug sooner.
Yes, I have already pointed out why we log millisecond precision datestamps, and why it doesn't make sense to actually write to the log on the thread creating the log line.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl