I've not done it before, myself. I'd probably just use CreateObject
and instantiate log4j and then start with the log4j docs. I believe
the class you'd be most likely to use is
org.apache.log4j.DailyRollingFileAppender

It also just occurred to me that you could use LogBox. It is part of
the ColdBox framework but is also a standalone application that you
could easily integrate. If you go that route, you've got a native CF
solution and it also supports a huge number of logging options, like
logging to email, to db, to file, to twitter, based on pattern
matching, based on severity, etc.

http://wiki.coldbox.org/wiki/LogBox.cfm

Download and api docs are available about 2/3rds of the way down this
page: http://www.coldbox.org/download

Cheers,
Judah

On Fri, Sep 14, 2012 at 8:35 AM, morchella
<[email protected]> wrote:
>
> are there any articles you could recomend.
> my solution works but that sounds pretty slick.
> i am googling "log4j ColdFusion"
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352619
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to