Sage-Bionetworks/Synapse-Repository-Services — pull request #144 by eric-wu (2012-09-28 20:28:59+00:00)
Title: Add thread number to logging

What we have now:

2012-09-27 11:01:24,098 INFO [org.sagebionetworks.repo.manager.EntityManagerImpl] - Entered updateEntity()
2012-09-27 11:01:24,207 INFO [org.sagebionetworks.repo.manager.AmazonS3UtilityImpl] - Attempting to download: 28/58/Australia.png from devewudata.sagebase.org

After the change we will have thread number (notice that the preview worker is on its own thread):

2012-09-27 23:53:05,202 INFO [io-8080-exec-13] [org.sagebionetworks.repo.manager.EntityManagerImpl] - Entered updateEntity()
2012-09-27 23:53:05,226 INFO [pool-8-thread-1] [org.sagebionetworks.repo.manager.AmazonS3UtilityImpl] - Attempting to download: 28/60/Denmark.png from devewudata.sagebase.org