At this time in log4j*.xml there is
<appender name="servlet" class="org.apache.log4j.rolling.RollingFileAppender"> <rollingPolicy class="org.apache.log4j.rolling.TimeBasedRollingPolicy"> <param name="FileNamePattern" value="${ametys.home.dir}/logs/ametys-cms-%d.log"/> </rollingPolicy> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] (%t;%X{requestURI}) %m%n"/> </layout> <filter class="org.ametys.core.util.AmetysExceptionFilter"/> <param name="Encoding" value="UTF-8" /> </appender>
But the line
<param name="Encoding" value="UTF-8" />
should be in first position before rolling.
Same for all files and also site