Commit Graph

16 Commits

Author SHA1 Message Date
Greg Wilkins 227fb5abec numerous code cleanups
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1014 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-26 07:48:39 +00:00
Joakim Erdfelt f9f81cda61 Adding MDC & Request Context information to logging.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@965 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-02 20:52:56 +00:00
Joakim Erdfelt 6dcadfa3ea Adding support for Formatter and MDC.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@964 7e9141cc-0065-0410-87d8-b60c137991c4
2009-10-02 20:52:12 +00:00
Joakim Erdfelt caea709d83 Fixing logging level filtering + adding more severity level tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@902 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-15 20:38:42 +00:00
Joakim Erdfelt e8ccebcc67 Build cleanup post-refactor
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@884 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-11 17:43:42 +00:00
Joakim Erdfelt c148b97ffc Refactoring jetty-centralized-logger to be more real-world.
* Moving jetty specific pieces out to jetty-webapp-logging so that the
  core logging implementation can exist in places such as JVM endorsed
  library paths and still function, without bringin in all of Jetty in
  the process.
* Removing dependency on any jetty components from
  jetty-centralized-logging per reasons above.
* Establishing jetty-webapp-logging as central place to house the webapp
  logging integration bits and pieces.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@883 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-11 17:43:18 +00:00
Joakim Erdfelt f610858e6f Making configurationFilename on CentralizedLogging optional
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@871 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 23:49:14 +00:00
Joakim Erdfelt bbdfe61a5f Allowing logger to be configured via system property / resource url / default flow
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@870 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 23:46:45 +00:00
Joakim Erdfelt 93a7bd5d15 Removing dependency on jetty-util's DateCache.
* Removing dependency on DateCache so that the jetty-centralized-logging
  can be used by projecs that want to utilize endorsed libraries,
  without bringing all of jetty into the endorsed lib area.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@869 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 23:46:38 +00:00
Joakim Erdfelt 5bc978b51f Working around surefire bug manifesting itself in JDK 1.5 jvms
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@868 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 23:19:21 +00:00
Joakim Erdfelt 828f08fe8d Logging bug fixes + new functionality
* Fixed names that were associated with CentralLogger to be fully
  qualified (to match behaviour present in slf4j + log4j +
  commons-logging + java.util.logging)
* Allowed for configuration keys "logger.*.appenders" to contain
  negative logger ids to remove an appender from that heirarchy in the
  configuration.

  Example:
  root.level=INFO
  root.appenders=rollLog

  logger.AUDIT.level=INFO
  logger.AUDIT.appenders=-rollLog,auditLog

  appender.rollLog.class=org.eclipse.jetty.logging.impl.RollingFileAppender
  appender.rollLog.filename=${jetty.home}/logs/central.log

  appender.auditLog.class=org.eclipse.jetty.logging.impl.RollingFileAppender
  appender.auditLog.filename=${jetty.home}/logs/audit.log

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@867 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 23:05:57 +00:00
Joakim Erdfelt ba847598ac Working out some maven command line testing failures on JDK 1.5.0_18
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@864 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-10 21:00:22 +00:00
Joakim Erdfelt 7420977b97 Cleaning up the config in preparation for the distro
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@852 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-09 20:55:28 +00:00
Joakim Erdfelt d4f7e008e9 Adding System.Property support to RollingFileAppender
* Adding ability to specify system properties like "${user.dir}"
  to the RollingFileAppender.filename configuration options.
* Adding -config artifact creation.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@851 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-09 20:48:59 +00:00
Joakim Erdfelt 1148817866 Fixing command line build failure
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@850 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-09 18:03:10 +00:00
Joakim Erdfelt 6c4b06bbce Copying jetty-centralized-logging from /sandbox/ into place.
* Removing tests/test-webapps/test-webapp-logging-* which are now in place in the jetty-centralized-logging project.



git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@836 7e9141cc-0065-0410-87d8-b60c137991c4
2009-09-08 20:46:49 +00:00