Reverting default behavior of StdErrLog to original format.

+ Making tagPad default 0 (not 50) as this preserves backward
  compatibility for those folks that rely on the output format being a
  certain way.
+ Moving lookup from System properties to Logging properties format
  instead
This commit is contained in:
Joakim Erdfelt 2015-01-26 13:48:27 -07:00
parent b073e4f52c
commit 762f353e0e
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ import org.eclipse.jetty.util.annotation.ManagedObject;
public class StdErrLog extends AbstractLogger
{
private static final String EOL = System.getProperty("line.separator");
private static int __tagpad = Integer.getInteger("org.eclipse.jetty.util.log.StdErrLog.TAG_PAD",50);
// Do not change output format lightly, people rely on this output format now.
private static int __tagpad = Integer.parseInt(Log.__props.getProperty("org.eclipse.jetty.util.log.StdErrLog.TAG_PAD","0"));
private static DateCache _dateCache;
private static final Properties __props = new Properties();