improving the use of java util Logging