/[Apache-SVN]
ViewVC logotype

Revision 678623


Jump to revision: Previous Next
Author: sdeboy
Date: Tue Jul 22 03:16:25 2008 UTC (15 years, 10 months ago)
Changed paths: 1
Log Message:
changed logfilepatternreceiver parsing to use .*? and .* instead of .+? and .+

allows use of empty string matches - example: when ndc is delimited with brackets but there is no NDC value, [NDC] in the logFormat will match [] as well as [some ndc value]

I don't believe this will break existing users of LogFilePatternReceiver, since folks were unable to match fields with no text (they were required to have at least one character to have a field resolved) and this is still supported.

Changed paths

Path Details
Directorylogging/log4j/companions/receivers/trunk/src/main/java/org/apache/log4j/varia/LogFilePatternReceiver.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26