From: Mike S. <m...@pe...> - 2007-02-07 22:04:20
|
On Thu, 8 Feb 2007, Ankur Gupta wrote: > My pattern layout is like this. > %-5p | %-4L | %-10c{1} | %-20M - %m%n > > but I would prefer > > %-5p | %-4L | %-10c{1} | %-20M{1} - %m%n Makes sense, I'll put it in 1.09. -- Mike Mike Schilli m...@pe... > > DEBUG | 851 | Module | method_name - Value is abcd > > So can we have the curlies for %M similar to %c. > > Log/Log4perl/Layout/PatternLayout.pm > @@ -293,8 +293,6 @@ > > if($ops eq "c") { > $data = shrink_category($data, $curlies); > - } elsif($ops eq "M") { > - $data = shrink_category($data, $curlies); > } elsif($ops eq "C") { > $data = shrink_category($data, $curlies); > } elsif($ops eq "X") { > > --Ankur > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > log4perl-devel mailing list > log...@li... > https://lists.sourceforge.net/lists/listinfo/log4perl-devel > |