/** * Create a single instance of this class. */ private SecurityConfig(){ try{ packageDefinition = CatalinaProperties.getProperty("package.definition"); packageAccess = CatalinaProperties.getProperty("package.access"); } catch (java.lang.Exception ex){ if (log.isDebugEnabled()){ log.debug("Unable to load properties using CatalinaProperties", ex); } } }
/** * Create a single instance of this class. */ private SecurityConfig() { try { packageDefinition = CatalinaProperties.getProperty("package.definition"); packageAccess = CatalinaProperties.getProperty("package.access"); } catch (java.lang.Exception ex) { if (log.isDebugEnabled()) { log.debug("Unable to load properties using CatalinaProperties", ex); } } }
public TomcatLog(String name) { super(name); this.log = LogFactory.getLog(name); Boolean debugcheck = Boolean.valueOf(CatalinaProperties.getProperty("com.creditease.monitor.debug")); this.setDebugable(debugcheck); }