Update on the appenders issue. I found the log4j service page on the website, and used the log4j.properties showed there. Still, the problem is exactly the same. I really need to have this fixed. Any other ideas? Thanx
Rodrigo ----- Original Message ----- From: "Rodrigo Reyes" <[EMAIL PROTECTED]> To: "Turbine Users List" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 3:57 PM Subject: Re: log4j:WARN No appenders could be found for logger... > Ok. Here they are both, log4j and TR... Thanx for all the help :) > Rodrigo > > ----- Original Message ----- > From: "Quinton McCombs" <[EMAIL PROTECTED]> > To: "Turbine Users List" <[EMAIL PROTECTED]> > Sent: Friday, January 24, 2003 3:46 PM > Subject: RE: log4j:WARN No appenders could be found for logger... > > > > Can you post a copy of your TR.props? > > > > > -----Original Message----- > > > From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, January 24, 2003 2:25 PM > > > To: Turbine Users List > > > Subject: Re: log4j:WARN No appenders could be found for logger... > > > > > > > > > That's right... It goes there but why? Is there any way > > > to change its place to WEB-INF/conf? > > > But even now that the system found it, I get the following error: > > > > > > log4j:ERROR setFile(null,false) call failed. > > > java.io.FileNotFoundException: @LOG_DIR@\turbine.log > > > (The system cannot find the > > > path specified) > > > > > > I changed the @LOG_DIR@ to /logs, so the path ended like > > > \logs\turbine.log, but it gave me the same error, but now > > > with that path instead of the later. What am I doing wrong? > > > > > > Rodrigo > > > > > > ----- Original Message ----- > > > From: "Robles, Rogelio" <[EMAIL PROTECTED]> > > > To: "'Turbine Users List'" <[EMAIL PROTECTED]> > > > Sent: Friday, January 24, 2003 2:34 PM > > > Subject: RE: log4j:WARN No appenders could be found for logger... > > > > > > > > > > > > > > The right place is WEB-INF/classes. > > > > Yes the TDK doesn't put it there. > > > > > > > > Rogelio > > > > > -----Original Message----- > > > > > From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]] > > > > > Sent: Friday, January 24, 2003 9:22 AM > > > > > To: Turbine Users List > > > > > Subject: Re: log4j:WARN No appenders could be found for logger... > > > > > > > > > > > > > > > I already placed it there but the message still appears. Rodrigo > > > > > > > > > > ----- Original Message ----- > > > > > From: "Quinton McCombs" <[EMAIL PROTECTED]> > > > > > To: "Turbine Users List" <[EMAIL PROTECTED]> > > > > > Sent: Friday, January 24, 2003 12:06 PM > > > > > Subject: RE: log4j:WARN No appenders could be found for logger... > > > > > > > > > > > > > > > > You will need a Log4j.properties file in your WEB-INF/conf > > > > > directory. > > > > > > This file will handle the configuration of log4j for you. > > > > > > > > > > > > I am not sure why it is not in the correct place for the TDK.... > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]] > > > > > > > Sent: Friday, January 24, 2003 10:30 AM > > > > > > > To: Turbine Users List > > > > > > > Subject: Re: log4j:WARN No appenders could be found for > > > > > > > logger... > > > > > > > > > > > > > > > > > > > > > What I got in my TR.properties is this... > > > > > > > > > > > > > > # > > > > > > > > ------------------------------------------------------------------- > > > > > > > # > > > > > > > # L O G S > > > > > > > # > > > > > > > # > > > > > > > > ------------------------------------------------------------------- > > > > > > > # This is the configuration for the logging system. In most > > > > > > > cases # you don't need to modify anything. However, > > > if you wish > > > > > > > to add more # facilities or modify the existing > > > settings, then > > > > > > > you can do so. # # destination.file: A path relative > > > to the web > > > > > > > app root # > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > > > > services.LoggingService.facilities=system,debug,security > > > > > > > services.LoggingService.default=system > > > > > > > services.LoggingService.loggingConfig=org.apache.turbine.servi > > > > > > > ces.logging.Pr > > > > > > > opertiesLoggingConfig > > > > > > > ... > > > > > > > > > > > > > > Is it the same? I think not. So I did what you told > > > > > me adding... > > > > > > > > > > > > > > # > > > > > > > > ------------------------------------------------------------------- > > > > > > > # > > > > > > > # L O G 4 J - L O G G I N G > > > > > > > # > > > > > > > # > > > > > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > log4j.file = /WEB-INF/conf/log4j.properties > > > > > > > > > > > > > > ...before Additional Properties in my > > > TR.properties. I also > > > > > > > looked for log4j.properties and I found it at > > > > > > > {TDK_HOME}\tdk\apps\2\src\conf. Why is it there? Is > > > that the one > > > > > > > I should use? I copied it to > > > > > > > {TDK_HOME}\webapps\{APP}\WEB-INF\conf, but the message still > > > > > > > appears. Am I doing something wrong? Thanx... > > > > > > > > > > > > > > Rodrigo > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > > > From: "Quinton McCombs" <[EMAIL PROTECTED]> > > > > > > > To: "Turbine Users List" <[EMAIL PROTECTED]> > > > > > > > Sent: Friday, January 24, 2003 10:50 AM > > > > > > > Subject: RE: log4j:WARN No appenders could be found for > > > > > > > logger... > > > > > > > > > > > > > > > > > > > > > > Your logging section of TR.props should look like this: > > > > > > > > > > > > > > > > # > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > > > > > # > > > > > > > > # L O G 4 J - L O G G I N G > > > > > > > > # > > > > > > > > # > > > > > > > > > > > > > > > ------------------------------------------------------------------- > > > > > > > > > > > > > > > > log4j.file = /WEB-INF/conf/Log4j.properties > > > > > > > > > > > > > > > > > > > > > > > > If you have a rootLogger defined, you should not get > > > > > this message. > > > > > > > > Also, you can Create a logger for org.apache.stratum to get > > > > > > > rid of the > > > > > > > > error message. > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > > > From: Rodrigo Reyes [mailto:[EMAIL PROTECTED]] > > > > > > > > > Sent: Friday, January 24, 2003 9:48 AM > > > > > > > > > To: [EMAIL PROTECTED] > > > > > > > > > Subject: log4j:WARN No appenders could be found for > > > > > > > > > logger... > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi > > > > > > > > > I keep having this message everytime I use > > > Turbine 2.2. > > > > > > > > > > > > > > > > > > Starting service Tomcat-Standalone > > > > > > > > > Apache Tomcat/4.0.4 > > > > > > > > > log4j:WARN No appenders could be found for logger > > > > > > > > > (org.apache.stratum.component. > > > > > > > > > ComponentLoader). > > > > > > > > > log4j:WARN Please initialize the log4j system > > > > > properly. > > > > > > > > > Starting service Tomcat-Apache > > > > > > > > > Apache Tomcat/4.0.4 > > > > > > > > > > > > > > > > > > I looked through the archives and this was > > > supposed to > > > > > > > > > be happening with 2.2b3, and a patch was given > > > > > > > > > > > > (http://www.mail-archive.com/turbine-dev@jakarta.apache.org/ > > > > > > > > > ms > > > > > > > > g09304.html). > > > > > > > > Still, I am having the same problem. I tried putting log4j > > > > > > > properties > > > > > > > > inside TurbineResources.properties but nothing happened. I > > > > > > > don't know > > > > > > > > if some changes should be made to > > > TurbineLoggingService.java, > > > > > > > > TurbineLogging.java and LoggingService.java so log4j > > > > > > > properties could > > > > > > > > be found there. Is this still a bug? Or is it something > > > > > else? Thanx > > > > > > > > > > > > > > > > Rodrigo > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > To unsubscribe, e-mail: > > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > For additional commands, e-mail: > > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > To unsubscribe, e-mail: > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > For additional commands, e-mail: > > > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > To unsubscribe, e-mail: > > > > > > > <mailto:turbine-user-> [EMAIL PROTECTED]> For > > > > > > > additional commands, > > > > > > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > To unsubscribe, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > For additional commands, e-mail: > > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > To unsubscribe, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:turbine-user-> [EMAIL PROTECTED]> > > > For > > > additional commands, > > > e-mail: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>