I know that logs have the following levels from lowest to highest:
- DEBUG
- INFO
- WARN
- ERROR
- FATAL
And that the <priority>
of each log sets the minimum log level for messages that will be written to the log, i.e. only messages at that level or higher will be written to the log.
A while back, I worked on a project for a client in which the previous agency split each of the CM logs into three:
- Detail.{logName}.txt (DEBUG, INFO)
- Warn.{logName}.txt (WARN)
- Error.{logName}.txt (ERROR, FATAL)
I can't seem to find the project in my archives, and as far as I can tell, there doesn't appear to be a way to set both a "maximum priority" for logs, natively, though this would be great for debugging.
I don't want to reinvent the wheel, so does any one know if I'm missing something simple? Thanks!