Revision: lcg-voms-admin--cvs-trunk--0--patch-21 Archive: lorentey@elte.hu--2004 Creator: Karoly Lorentey Date: Thu Sep 23 19:57:11 CEST 2004 Standard-date: 2004-09-23 17:57:11 GMT New-files: config/log4j.properties Renamed-files: config/log4j.properties config/log4j.runtime.properties Modified-files: build.xml config/log4j.runtime.properties install/context.xml.template scripts/CVS/Entries src/org/edg/security/voms/service/Configuration.java src/org/edg/security/voms/service/VOMSSetup.java New-patches: lorentey@elte.hu--2004/lcg-voms-admin--cvs-trunk--0--patch-21 Summary: Fix logging with multiple VOMS instances. Keywords: * config/log4j.runtime.properties: Rename from log4j.properties. Log to VO-specific logfiles. * config/log4j.properties: New file. Simple Log4J configuration during service bootstrap, with console appender. * build.xml (webapp): Include log4j.runtime.properties. * src/org/edg/security/voms/service/Configuration.java: Change to final. (propertiesFiles): Add log4j.properties and log4j.runtime.properties. (static initializer): Moved sanity check inside constructor. (constructor): Log configDir discovery method. Don't apply Log4J properties until all config files are loaded. Set the log4j.vo.name property. (getConfigResource): Cleanup. Add new auxiliary method. Log if the file exists but can not be opened. * install/context.xml.template: Cosmetic changes.