CQ allows you to
create custom log files. You can define your own Logger by in CQ Web Console
Configuration (/system/console/configMgr).
There are 3 steps to
create a new logger:
·
Set
the Log level you wish (Trace, Debug, Info, Warn or Error).
·
Specify
the Log File. For example, logs/example.log. This will be created automatically
in your CQ logs folder.
·
Configure
the Message pattern for formatting the log messages.
Nhận xét
Đăng nhận xét