Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
edgriffiths #1
log4j in CFMX 6.1 - DailyRollingFileAppender notworking?
Hi
We're running CFMX 6.1, interfacing with JRun's version of log4j. We're
successfully talking to log4j - it will write out simple log files according to
our XML config file.
However, when we try to get the DailyRollingFileAppender functionality
working, log4j continues to write output into the same log file instead of
archiving this old file with the specified datestamp.
The attached code sample shows the appender XML from the log4j config file.
It's set to write out a new log file every minute (for testing only).
Has anyone successfully used DailyRollingFileAppender with MX 6.1?
Thanks.
<appender name="info" class="org.apache.log4j.DailyRollingFileAppender">
<param name="File" value="D:/logs/cfusion/live/customLogs/log4jRoll.log"/>
<param name="Append" value="true" />
<param name="DatePattern" value="'.'yyyy-MM-dd-HH-mm"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %-5p - %m%n"/>
</layout>
</appender>
edgriffiths Guest
-
Coldfusin mail script and sendAndLoad function notworking.
Hey there. I have a question in regards to a cfm script and my sendandLoad function. Somehow the command is not being sent on. I don't receive an... -
log4j updated version
Hi, When I replace the log4j of ColdfusionMX6.1 with the latest version of log4j ver 1.2.7, coldfusion doen't start. I am developing custom tag in... -
Log4J in CF5?
Hi, I've found several places (including the http://cfdj.sys-con.com/read/42122.htm from Jan 2004) that discuss using Log4J with Coldfusion MX,... -
concatenate in Javascript? simple field validation funciton notworking
function validatePhoneNumber(v) { with(v.form){ stripped=v.value.replace(//g, ''); ........ v.focus(); } } <input type="text"... -
Animated Gif notworking!
Hi, I have created some animated Gifs and a banner for the site tees4you.com. In my machine(Local computer) I have no problem in viewing them. But...



Reply With Quote

