Logging

20 views
Skip to first unread message

Andrew Byrd

unread,
May 22, 2013, 11:51:28 AM5/22/13
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
Reply all
Reply to author
Forward
0 new messages