uwescience / myria

Myria is a scalable Analytics-as-a-Service platform based on relational algebra.
myria.cs.washington.edu
Other
113 stars 46 forks source link

RFC: switch to Log4J 2.0 or LogBack #338

Open stechu opened 11 years ago

stechu commented 11 years ago

We want to do finer granularity logging for performance profiling. The currently used log4j 1.2 doesn't support advanced features like marker. And eventually, it is good to let Myria have more powerful logging support.

Currently I have 2 options in mind,

  1. Log4J 2.0 (it is in beta now but will be released soon)
  2. LogBack (by the same author of "front end" logger slf4j we use)

PS: I am not suggesting to replace our current "front end" logger, slf4j. I am suggesting to switch the "back end" logging framework that is bind with slf4j. So there would be no change on the current Myria logging source code.

Please share your thoughts.

domoritz commented 11 years ago

Without any background knowledge or experience I'd say its better to use LogBack because it implements the slf4j API natively.

dhalperi commented 11 years ago

The beauty of slf4j is that it's easy to swap these solutions in and out! I don't have any strong opinions.

dhalperi commented 9 years ago

@stechu @domoritz any follow up here? update or close?

domoritz commented 9 years ago

We should upgrade. I can look into this in a week.