From d241a9a2359ea9926e8d38c32385471ae084b565 Mon Sep 17 00:00:00 2001 From: Paul Speed Date: Sat, 26 Dec 2015 17:45:58 -0500 Subject: [PATCH] Added a couple more bracketing log messages just to confirm my own sanity. Some small formatting changes. --- .../network/message/SerializerRegistrationsMessage.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jme3-networking/src/main/java/com/jme3/network/message/SerializerRegistrationsMessage.java b/jme3-networking/src/main/java/com/jme3/network/message/SerializerRegistrationsMessage.java index 4d1decc08..d9b51d39a 100644 --- a/jme3-networking/src/main/java/com/jme3/network/message/SerializerRegistrationsMessage.java +++ b/jme3-networking/src/main/java/com/jme3/network/message/SerializerRegistrationsMessage.java @@ -146,15 +146,17 @@ public class SerializerRegistrationsMessage extends AbstractMessage { // that also run their own servers but realistically they would have // to disable the ServerSerializerRegistrationsServer anyway. if( compiled != null ) { - log.log( Level.INFO, "Skipping registration as registry is locked, presumably by a local server process."); + log.log(Level.INFO, "Skipping registration as registry is locked, presumably by a local server process."); return; } } + log.log(Level.FINE, "Registering {0} classes...", registrations.length); for( Registration reg : registrations ) { - log.log( Level.INFO, "Registering:{0}", reg); + log.log(Level.INFO, "Registering:{0}", reg); reg.register(); } + log.log(Level.FINE, "Done registering serializable classes."); } @Serializable @@ -187,7 +189,7 @@ public class SerializerRegistrationsMessage extends AbstractMessage { serializer = (Serializer)serializerType.newInstance(); } SerializerRegistration result = Serializer.registerClassForId(id, type, serializer); - log.log( Level.FINE, " result:{0}", result); + log.log(Level.FINE, " result:{0}", result); } catch( ClassNotFoundException e ) { throw new RuntimeException( "Class not found attempting to register:" + this, e ); } catch( InstantiationException e ) {