1 23 24 29 30 package com.sun.appserv.management.base; 31 32 import javax.management.ObjectName ; 33 34 35 import java.util.logging.Logger ; 36 import java.util.logging.LogManager ; 37 import java.util.logging.Level ; 38 import java.util.logging.Handler ; 39 import java.util.logging.ConsoleHandler ; 40 41 42 43 public final class LoggerSupport 44 { 45 private LoggerSupport() {} 46 47 public static final String AMX_LOGGER_PREFIX = "javax.enterprise.system.tools.admin"; 48 public static final String AMX_CLIENT_LOGGER_PREFIX = AMX_LOGGER_PREFIX + ".client"; 49 public static final String AMX_SERVER_LOGGER_PREFIX = AMX_LOGGER_PREFIX + ".server"; 50 public static final String AMX_MBEAN_LOGGER_PREFIX = AMX_SERVER_LOGGER_PREFIX + ".mbeans"; 51 52 55 public static final String AMX_ROOT_LOGGER = AMX_LOGGER_PREFIX; 56 57 60 public static final String AMX_CLIENT_LOGGER = AMX_CLIENT_LOGGER_PREFIX; 61 62 65 public static final String AMX_MBEAN_ROOT_LOGGER = AMX_MBEAN_LOGGER_PREFIX; 66 67 70 public static final String AMX_SERVER_LOGGER = AMX_SERVER_LOGGER_PREFIX; 71 72 } 73 | Popular Tags |