Use the AdminAPI:

<cfscript>
adminObj = createObject("component","cfide.adminapi.administrator");
adminObj.login("admin");

debugger = createObject("component", "cfide.adminapi.debugging");
logfolder = debugger.getLogProperty("logdirectory");
</cfscript>
<cfoutput>#logfolder#</cfoutput>

On Tue, Feb 10, 2009 at 5:02 PM, Varun Dixit <[email protected]> wrote:
>
> I am writing a ColdFusion Log File viewer for a client, and can not figure 
> out how to get the path of the directory where Cold Fusion logs file are 
> stored. I see in CF Admin, Debugging & Logging > Logging Settings you can 
> specify the where the log files are stored.
>
> Is there a variable or a function anyone knows of which would spit that path 
> out for me?
>
> Thanks,
> --varun
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319145
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to