Determining the location of logfiles in Railo and ColdFusion

266 views Asked by At

I'm looking for a way to determine the location of the log files that works in Railo and in ColdFusion. So far I found solutions for Railo and ColdFusion, but none that works in both.

Solution for Railo

Solution for ColdFusion

One way would be to build a switch that calls the correct solution for Railo or ColdFusion depending on the server, but I'd rather have a single method that works in both.

Thanks a lot!

1

There are 1 answers

0
isapir On

Up to Railo 4.1 logging in Railo is done with proprietary code and you do not have much control over the logs.

In Railo 4.2 (soon to enter beta phase) logging will done with log4j and you will have much more control on what is logged and where via the admin UI.