Summary: | PatternLayout - %r doesn't do what the documentation says. | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Mark Atwell <mark.atwell> |
Component: | Layout | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | other |
Description
Mark Atwell
2006-07-31 17:09:32 UTC
log4cxx captures the time of the APR initializer which should occur during static initialization so it should be very close to application start time. At this point, the safest thing to do with log4j 1.2 would be to change the documentation to match the established behavior which I have done for both log4j 1.2 and 1.3. However, if someone wants to submit a patch for log4j 1.3 that implements the previously documented behavior, I'd be open to committing it. Commited in rev 427875 and 427876 (1.2 and trunk, respectively). |