By default in Lucee 6.2, all logs except deploy.log
default to ERROR
Previously, application.log
was set to INFO
<CFLOG>
/ writeLog()
default to INFO, so you may want to override the default log level
The easiest way is to drop a cfconfig json snippet into your /deploy
directory, any .json
file found in the deploy directory is considered a .CFconfig.json
update, the directory is polled every 60s and automatically imported.
update the json file must called .CFConfig.json
or config.json
"loggers": {
"application": {
"appender": "resource",
"appenderArguments": {
"path": "{lucee-config}/logs/application.log"
},
"level": "info",
"layout": "classic"
},
}
}