Re: CF Log Viewer Question
Thanks Ray. Worked gr8. >Use the AdminAPI: > > >adminObj = createObject("component","cfide.adminapi.administrator"); >adminObj.login("admin"); > >debugger = createObject("component", "cfide.adminapi.debugging"); >logfolder = debugger.getLogProperty("logdirectory"); > >#logfolder# > > >> ~| 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:319197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Log Viewer Question
Use the AdminAPI: adminObj = createObject("component","cfide.adminapi.administrator"); adminObj.login("admin"); debugger = createObject("component", "cfide.adminapi.debugging"); logfolder = debugger.getLogProperty("logdirectory"); #logfolder# On Tue, Feb 10, 2009 at 5:02 PM, Varun Dixit 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
CF Log Viewer Question
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:319136 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4