Could not load user with ipPerson 2

Some systems may output a message similar to the following in the yellowfin.log (as well as catalina.out on linux):

YF:2022-03-04 16:35:31.579: INFO (MIUserProcess) - [52363] [Background] [TASK_RUNNER] Could not load user with ipPerson 2

Please note this is an information message, not an error. However, we have seen instances where the logs are filling up with this message. The root cause stems from Yellowfin being unable to determine the Timezone for the user that a Task Schedule is running under (this could be due to the user being deleted).

To suppress these messages, please add the following line to your log4j2.xml as part of your Console and applog items:

<RegexFilter regex=".*ipPerson 2.*" onMatch="DENY" onMismatch="NEUTRAL"/>

Here is an example of this in context:

<Appenders>
<Console name="cons" target="SYSTEM_OUT">
<RegexFilter regex=".*ipPerson 2.*" onMatch="DENY" onMismatch="NEUTRAL"/>
<PatternLayout pattern="${appenderPatternLayout}" />
</Console>
<!-- 
application log file logging
This is a rolling log file. When the log file reaches 100MB it is compressed and archived,
and a new log file is started. The 9 most recent log files are kept.
 -->
<RollingFile name="applog" fileName="${logDir}/yellowfin.log" filePattern="${logDir}/yellowfin.log.%i">
<RegexFilter regex=".*ipPerson 2.*" onMatch="DENY" onMismatch="NEUTRAL"/>
<PatternLayout pattern="${appenderPatternLayout}" />
<Policies>
<SizeBasedTriggeringPolicy size="${maxFileSize}" />
</Policies>
<DefaultRolloverStrategy fileIndex="min" max="${maxFiles}"/>
</RollingFile>

You can also find a full example of this log4j2.xml attached to this article.

Is this article helpful?
0 0 0