Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319444

Summary: Two nulls are appended to log statements from ContextHanler$Context
Product: [RT] Jetty Reporter: Coda Hale <coda.hale>
Component: serverAssignee: 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:

Description Coda Hale CLA 2010-07-09 18:42:20 EDT
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)
Comment 1 Michael Gorovoy CLA 2010-07-19 20:24:36 EDT
Committed r2154. Thanks a lot for the report.