[jitsi-dev] [PATCH] Add ThreadIDs to logs


#1

I find it much easier to diagnose problems in a multi threaded environment if I don't what thread is being used.

This means logs look like this (with the thread ID in square brackets).
2013_02_19 13:38:56.361 INFO: [204] impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.parseContactPhotoPresence().1494 Can not retrieve vCard from: emcho@sip-communicator.org/android_talk5813aef96a6c

I will check this in in the next day or two if no one objects.
Tom

ScLogFormatter.java.patch (593 Bytes)


#2

+1

···

On 19.02.13, 15:07, Tom Denham wrote:

I find it much easier to diagnose problems in a multi threaded
environment if I don’t what thread is being used.

This means logs look like this (with the thread ID in square brackets).

2013_02_19 13:38:56.361 INFO: [204]
impl.protocol.jabber.OperationSetPersistentPresenceJabberImpl.parseContactPhotoPresence().1494
Can not retrieve vCard from:
emcho@sip-communicator.org/android_talk5813aef96a6c

I will check this in in the next day or two if no one objects.

Tom

--
https://jitsi.org