Bug 42589 - Parameterized logging for log4j 1.2
Summary: Parameterized logging for log4j 1.2
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2007-06-05 06:15 UTC by Curt Arnold
Modified: 2007-08-21 14:12 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2007-06-05 06:15:00 UTC
Log4J 1.3 added new methods for parameterized logging, like:

logger.debug("User name: {}", user);

that used a message formatter with a syntax similar (but not compatible) with java.text.MessageFormatter.

This enhancement adds two companions for log4j 1.2.x that add similar capabilities to deployed log4j 
versions, logmf uses java.text.MessageFormatter while logsf uses a formatter compatible with log4j 1.3.
Comment 1 Curt Arnold 2007-08-21 14:12:53 UTC
Added to extras companion.