| Summary: | Two nulls are appended to log statements from ContextHanler$Context | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Coda Hale <coda.hale> |
| Component: | server | Assignee: | Michael Gorovoy <mgorovoy> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | trivial | ||
| Priority: | P3 | CC: | jetty-inbox, mgorovoy |
| Version: | unspecified | ||
| Target Milestone: | 7.2.0.RC0 | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Committed r2154. Thanks a lot for the report. |
Build Identifier: 7.1.5.v20100705 ContextHandler$Context#log(String) is implemented as follows: _logger.info(msg, null, null); Logger#info(String, Object…) treats the vararg parameter as an array of values to be formatted as strings, which appends two "null" strings to the end of every log statement. Reproducible: Always Steps to Reproduce: 1. Log anything using ContextHandler$Context#log(String)