tag:blogger.com,1999:blog-25636372.post115055587439547169..comments2024-03-27T22:29:43.828-07:00Comments on Josh's Dev Blog - Java, Jakarta EE, Jython, Oracle, and More...: Log4J BugJosh Juneauhttp://www.blogger.com/profile/09428149784665036612noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-25636372.post-52788179332373922192007-09-06T05:30:00.000-07:002007-09-06T05:30:00.000-07:00dddd,Sorry you are having issues with Log4j. Actu...dddd,<BR/><BR/>Sorry you are having issues with Log4j. Actually, you will need to give the complete file path to where you wish the log to be located. For instance instead of:<BR/>log4j.appender.R.File=TestLogger.log<BR/>use<BR/>log4j.appender.R.File=C:\\MYAPP\\TestLogger.log<BR/><BR/>As far as I know, there is no way to automatically make the log write into your application context.<BR/><BR/>Best to you!<BR/><BR/>JoshJosh Juneauhttps://www.blogger.com/profile/09428149784665036612noreply@blogger.comtag:blogger.com,1999:blog-25636372.post-4625529924949089992007-09-05T22:52:00.000-07:002007-09-05T22:52:00.000-07:00Hi Guys,I am facing problems when i am implementin...Hi Guys,<BR/><BR/>I am facing problems when i am implementing log4j in our web- project. Problem is, I wanna create log file in our application context.<BR/>I followed all the steps which is require for implementing log4J but my log file is creating under server folder not in application context. <BR/><BR/>i am using following things in log4j.properties file,<BR/>log4j.appender.R=org.apache.log4j.RollingFileAppender<BR/>log4j.appender.R.File=TestLogger.log<BR/><BR/>I think we need some additional configuration for simulating this task. So plz guys help me. I am waiting for ur response.<BR/><BR/>Regards,<BR/>Dilipdilip guptahttps://www.blogger.com/profile/07027941538805612657noreply@blogger.comtag:blogger.com,1999:blog-25636372.post-1158807400622660932006-09-20T19:56:00.000-07:002006-09-20T19:56:00.000-07:00Hi, got the same error...org.apache.log4j.NDC.get(...Hi, got the same error...<BR/>org.apache.log4j.NDC.get(NDC.java:209)<BR/><BR/>googled it, found your post, and then i search for the alpha log4j, n i found this...<BR/><BR/>log4j version 1.2.14<BR/>The following bugs were fixed:<BR/>40159: NullPointerException in org.apache.log4j.NDC.get. <BR/><BR/>Good Luck!<BR/><BR/>Ryan Yong.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-25636372.post-1152541110622356252006-07-10T07:18:00.000-07:002006-07-10T07:18:00.000-07:00I'm getting this exact bug. Arg! I guess I will tr...I'm getting this exact bug. Arg! I guess I will try the test release as you suggestAnonymousnoreply@blogger.com