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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20120402/3f4d972a/attachment.pgp>