Dan, I have just uploaded a newer version of the code. This line in cflog4j.properties
log4j.appender.A1.File=D:/apachesites/playground/cflog4j/cflog4j3.log define the file where log will be written. Once you run, you should see the info message in the above mentioned log file. However if you change the category logging level to 'DEBUG', you should also see a debug log in that file. Thanks, Qasim On 9/18/06, Dan Plesse <dan.pleDan,[EMAIL PROTECTED]> wrote: > > Qasim, > > Do you have to adjust the > log4j.appender.A1.File=D:/apachesites/playground/cflog4j/cflog4j3.logline?? > > > What should happen when you hit testCFLogger.cfm? > > How does this differ from java.util.Logger? > > > thanks > > On 9/18/06, Qasim Rasheed < [EMAIL PROTECTED]> wrote: > > > > Dan, > > > > Thanks for looking into this. I haven't used hibernate or cfhibernate so > > my > > knowledge about these is very limited. > > > > Qasim > > > > On 9/18/06, Dan Plesse <[EMAIL PROTECTED]> wrote: > > > > > > Qasin, > > > > > > Pretty cool. > > > > > > For cf hibernate you 500 null or something > > > > > > <!--- > > > <cfset log4jconfig = createObject("java", " > > > org.apache.log4j.PropertyConfigurator")> > > > <cfset log4jconfig.configure > > > ("C:\CFusionMX7\wwwroot\cfhibernate\src\log4j.properties")> > > > ---> > > > > > > For your app I tested this > > > > > > <cfset DansArray[1] = createObject("java", " java.net.URL > ").init("file:" > > & > > > Replace(getdirectoryfrompath(CF_TEMPLATE_PATH), "/", "\", "ALL") & " > > > log4j-1.2.13.jar")/> > > > > > > <cfset log4j_PropertyConfigurator = createObject("java", " > > > coldfusion.bootstrap.BootstrapClassLoader > > > ").SystemClassLoader.newInstance(DansArray).loadClass(" > > > org.apache.log4j.PropertyConfigurator").newInstance()/> > > > > > > <cfset > > > > > > > > > log4j_PropertyConfigurator.configure("C:\\CFusionMX7\\wwwroot\\cflog4j.properties")> > > > > > > > and it worked > > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4