use Logger.getGlobal() instead of the deprecated field Logger.global