If the log level is specified as a child element in the Logger settings, a WARN log is output at startup.

 
[Occurrence condition and phenomenon]

In the Logger settings, If the log level is specified as a child element of the <logger> tag, the following WARN log will be output when intra-mart Accel Platform is started.
* Even if a WARN log is output, it does not affect the behavior.

[WARN] j.c.i.c.p.l.u.LogbackUtil - [] [WARN] ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated.  Near [level] on line XX
[yy-MM-dd HH:mm:ss.SSS] {resin-xx} [WARN] ch.qos.logback.classic.joran.action.LevelAction - <level> element is deprecated.  Near [level] on line XX
[WARN] j.c.i.c.p.l.u.LogbackUtil - [] [WARN] ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.
[yy-MM-dd HH:mm:ss.SSS] {resin-xx} [WARN] ch.qos.logback.classic.joran.action.LevelAction - Please use "level" attribute within <logger> or <root> elements instead.


[Cause]

We have upgraded logback in intra-mart Accel Platform 2025 Autumn.
As a result, the WARN log will be output because the description of specifying the log level with the child element of <logger> tag has been deprecated as shown below.

[Example of settings for outputting WARN logs]
<logger name="xxx.xxx.xxx">
<level value="info" /> <!-- level element specifiesa  log level -->
</logger>


[Workaround]

This can be avoided by specifying the log level in the <logger> tag level attribute as shown below.

[Example of settings to avoid WARN logs]
<logger name="xxx.xxx.xxx" level="info"> <!-- level attribute specifies a log level -->
<!-- omitted-->
</logger>

If you want to avoid WARN logs, modify the log settings file according to the following steps.

1. Acquire log settings file
There are multiple log settings file under %CONTEXT_PATH%/WEB-INF/conf/log/
Acquire log settings file corresponding to the "occurrence condition".
2. Modify the settings in the Juggling project
Place the file acquired in the step "1" under the conf/log of the Juggling project.
Referring to the "Example Settings to Avoid WARN Logs," modify it to specify the log level with the level attribute.
3. Deploy the War.
Use Juggling to output a War file and deploy it.

* Some Logger settings are not supported in the product standard settings file. We plan to address this accordingly.


[FYR]
・ intra-mart Accel Platform Log Specifications - Logger
https://document.intra-mart.jp/library/iap/public/im_core/im_log_specification/texts/logger/index.html#logger


--Target-------------------------------------------------------------------------
iAP/Accel Platform/2025 Autumn or later
--------------------------------------------------------------------------------

FAQID:1405
Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk