Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
edgriffiths #1
Setting log4j log file directory from CF?
Hi
We're successfully invoking log4j from ColdFusion using createObject. We've
built the required XML config file for log4j and CF is now writing data to the
log4j logs (provided that they're simple, non-rolling text files).
I'd like to set the location of the log4j log file dynamically using a
variable from within ColdFusion. Log4j currently gets the log file's directory
from an attribute within its own XML config file. The value of the directory
attribute can be set dynamically, but only retrieves Java variables.
Is there a simple way to use CF to create a system variable (or other
persistent variable) in Java that would be accessible to log4j's config file
using the ${myLogFileDirectory} type of syntax?
Thanks.
edgriffiths Guest
-
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,... -
Programaticaly setting output file and directory in 6 like it was in 5.
In acrobat 5 you could easily direct the name and where you wanted the PDF file placed by simply setting a registry entry. With acrobat 5 the SDK was... -
rsync exclude file - directory name without directory contents
When using rsync to maintain incremental backups significant space can be saved on the backup server by excluding directories that have non-critical... -
[PHP] setting file_uploads on a per-directory basis
php_flag rather than php_value ??? this is a part of my htaccess file: <IfModule mod_php4.c> php_flag register_globals off php_flag...



Reply With Quote

