-
1. Re: log4j problem
chaituu Oct 25, 2005 6:41 AM (in response to chaituu)log files are creating but content is not coming in log files;
still debug and info messages are coming in server.log;i dont want in server.log;i want to debug messages in respective log files only -
2. Re: log4j problem
chaituu Oct 25, 2005 7:50 AM (in response to chaituu)now i placed log4j.properties file in WEB-INF directory of war.
placed log4j-1.2.4.jar in WEB-INF/lib ;
files are created and are in default/log directory but content missing in those log files.
renamed log4j.xml to jboss-log4j.xml;i didnt make any changes in that file;do i need to make any changes?;
in jboss-service.xml i have grenamed to jboss-log4j.xml. -
3. Re: log4j problem
chaituu Oct 26, 2005 5:20 AM (in response to chaituu)2005-10-26 14:49:13,487 WARN [org.jboss.deployment.DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: testMyLoader:loader=etrans.war, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false)
-
4. Re: log4j problem
chaituu Oct 26, 2005 8:43 AM (in response to chaituu)i have one doubt should i write any java file to read log4j.properties that i placed in WEB-INF directory or else jboss will automatically read log4j.properties file