Andrew Byrd
unread,May 22, 2013, 11:51:28 AM5/22/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to opentripplanner-dev
Hello,
I would like to reroute java.util.logging so I can combine Jersey output
with that from the rest of OTP. While configuring this, I examined
exactly how we are doing logging.
We have all the various Java logging frameworks wired up to the common
SLF4J API, which then feeds into the actual Log4J logging
implementation. The author of Log4J also wrote the newer Logback system,
which is basically a new incarnation of Log4J that natively exposes the
SLF4J API.
I find Logback configuration more straightforward, and if nothing else
the dependency management is simpler/clearer since we don't need to wire
up the SLF4J API to the underlying logging implementation.
The initial changes are on OTP branch 'logback'. Any objections to
making the switch? The only visible difference should be in the output
formatting, is anyone doing automated analysis of OTP logs?
-Andrew