Subject: | Implement %F{root=/base/path} |
So using
log4perl.appender.LOGFILE.layout.ConversionPattern = %d %P %p> %F{root=/home/user/public_html}:%L
will stripout 'root path' and result to
2015/08/24 14:33:53 8322 ERROR> /www/test.html:7
instead of
2015/08/24 14:33:53 8322 ERROR> /home/user/public_html/www/test.html:7