Skip to content
Snippets Groups Projects
Commit 37c43c9d authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Adding outer checkout when initializing logging

parent 4abb0c57
No related branches found
No related tags found
No related merge requests found
......@@ -91,9 +91,11 @@ trait Logging {
}
private def initializeIfNecessary() {
Logging.initLock.synchronized {
if (!Logging.initialized) {
initializeLogging()
if (!Logging.initialized) {
Logging.initLock.synchronized {
if (!Logging.initialized) {
initializeLogging()
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment