Another question re log file settings. Say I have...
# lucee
a
Another question re log file settings. Say I have a log file created with
<cflog file="my.log">
(recap: despite being documented as not being implemented, this actually has been, and it "works"). This log file is not listed in
/lucee/admin/web.cfm?action=server.logging
, which is in itself perhaps an issue, but I can poss understand how Lucee might decide it's not its business to manage custom logs. Or is this part of "not implemented"? Anyhow, not the main question here. Given there's no way to set things like "Max Files" and "Max File Size (in bytes)" as one might for Lucee's own logs, should I take from this that Lucee will not do anything by way of log retention policy for these "custom" logs? (This would actually be exactly what I want to happen, in this case, as it happens). There's no docs I can find one way or the other on this. Perhaps another symptom of "not implemented"? To be clear (to try to focus replies staying on-topic), the question is this:
should I take from this that Lucee will not do anything by way of log retention policy for these "custom" logs?
t
to date I have never known railo or lucee try to maintain custom logs other than it writes them to the web context logs folder but I can not point you at documentation to back up the statement. The loggers I believe extend lucee.commons.io.log.LogEngine and the config classes are in lucee.runtime.config. you can get a reference to a custom log with dump(getPageContext().getConfig().getLog("some name").getLogger()); but i havent tried to manipulate it