Qasim,
Your code works, so I tested this outside the view of the CFC's and
inside a two liner and I don't get an error mesage
but strange [] - output in my log file. Do you know why?
<cfset PropertyConfigurator = createObject("java", "
org.apache.log4j.PropertyConfigurator
").configure('C:\CFusionMX7\wwwroot\cflog4j.properties')>
<cfset logger = createObject("java", "org.apache.log4j.Category
").getInstance('myco.foo') />
<cfset logger.info("Hello World") />
coldfusion-out.log keeps printing this
09/19 15:07:34 [] -
09/19 15:10:37 [] -
09/19 15:11:14 [] -
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:253534
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4