Hello MD,

if you want to log what's happening in the db (inserts, updates, etc) then log 
that in the db itself, using triggers or, even better, check if your db has a 
built in logging feature that can fulfill your needs. This means you don't need 
to worry about it in cf, and it will even log modifications to the data that 
weren't made through your cf app.

if you want to log what's going on in your cf application, then i'd suggest the 
cflog tag, given that it's there and it works.

whichever way you go, you have to remember a few key points: logging is 
something that HAS to work. Having an otherwise healthy app fall over because 
of a bug in the logging system is an embarrassing thought. Not to mention hard 
to debug, since the logs won't help you. And logging is something that you 
shouldn't spend much time on - not because you want to just throw something 
together, but because you're almost always better off reusing something 
(especially a built in function of your chosen platform) than spending time 
writing this kind of plumbing code.

just my 0.02$
/t

>Hi all
>
>what's the best choice to store users actions in a CF
>application(inserts, updates and deletes)? DB or Log4J could be
>resolve this? Anyone use log4j? Any approaches?
>
>Cheers
>
>MD

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218726
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to