On Sun, 2008-03-16 at 15:00 +0530, Biju P wrote: > Hi, > > I am working on a research, on web technologies. I have downloaded your > httpclient4.0-alpha3. > I have tried running ClientExecuteDirect.java program that comes with > httpclient4.0-alpha3. But I am getting the below error message. > > executing request to http://issues.apache.org:80 > log4j:WARN No appenders could be found for logger > (org.apache.http.impl.client.ClientParamsStack). > log4j:WARN Please initialize the log4j system properly.
You need to create a file called log4j.properties and store it in the root of your classpath directory (I would expect to store it in WEB-INF/classes will work in your case). example log4j properties content: log4j.rootLogger=debug, stdout, logfile log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n log4j.appender.logfile=org.apache.log4j.RollingFileAppender log4j.appender.logfile.File=log.txt log4j.appender.logfile.MaxFileSize=512KB # Keep three backup files. log4j.appender.logfile.MaxBackupIndex=3 # Pattern to output: date priority [category] - message log4j.appender.logfile.layout=org.apache.log4j.PatternLayout log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n HTH salu2 > > It would be great help, if you could help me on this. > > Thanks alot, > Biju P M > Mailto: [EMAIL PROTECTED] > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you > > -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]