Skip Menu |

This queue is for tickets about the Log-Log4perl CPAN distribution.

Report information
The Basics
Id: 106632
Status: open
Priority: 0/
Queue: Log-Log4perl

People
Owner: Nobody in particular
Requestors: kes-kes [...] yandex.ru
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



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
On Mon Aug 24 10:44:11 2015, kes-kes@yandex.ru wrote: Show quoted text
> %F{root=/home/user/public_html}:%L
Sounds like a useful features, want to send me a pull request?
From: kes-kes [...] yandex.ru
Show quoted text
>want to send me a pull request?
I have did some... (https://github.com/mschilli/log4perl/pulls)