Log4j in ColdFusion
As I did say last week I was working on a small project to see how log4j could fit in ColdFusion. What I did was create one CFC to talk to log4j and do all the logging. This CFC is finished now and I have it implemented in some small ColdFusion application to see how it works.
The idea about using log4j is that I do want to be more flexible with logging when I create applications. With using it I can define myself what kind of logging I want in application, so for instance on a development machine I do want debug, info, warning, error and fatal to log, when I'm in a production environment I only want to see error and fatal messages in my logfile. And the very good thing is that log4j is already part of the ColdFusion install, so everyone using ColdFusion can just start using it.







