Coldfusion 8 - Possible to change log file location for site on shared server?

Is it possible to change log file location for site on shared server without access to the CF administrator?

Thanks

--------------Solutions-------------

You might be able to use the CF Admin API, debugging.cfc, using the setLogProperty function http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_37.html

public void setLogProperty ( required propertyName, required propertyValue
)

Sets a specified logging property. To use this method, pass the property in the propertyName attribute and the associated value in the propertyValue attribute.

Output: suppressed
Parameters:
propertyName: any, required, propertyName – Property to set. Valid Properties are:

LogDirectory
MaxFileSize
MaxArchives
LogScheduledTask
LogCorbaCalls
LogRequestTimeLimit
logMailSeverity
logMailSentMessages

propertyValue: any, required, propertyValue – Value for propertyName.

Read more: http://www.cfexecute.com/admin-api-documentation/debugging-cfc/#ixzz1cYac2yJI

Category:logging Time:2011-11-02 Views:1

Related post

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.688 (s). 13 q(s)