Thanks Chris. As Andrew mentioned, we will likely go a similar direction in
DuraCloud, so having your notes and code updates as reference will be a big
help.

Bill

On Fri, Feb 19, 2010 at 6:50 AM, Chris Wilper <[email protected]> wrote:

> This is now done in trunk.  I've added a fair amount of detail on how
> it works now in the comments of:
>
> http://fedora-commons.org/jira/browse/FCREPO-630
>
> As far as the code goes, the majority of the changeset to trunk is
> pretty boring; just changing a lot of .java files to consistently use
> the SLF4J LoggerFactory/Logger classes.
>
> The more interesting changes were to the poms and config files to get
> it properly set up for logging at runtime.  I've created an open
> review of this portion of the work here:
>
> http://fisheye.fedora-commons.org/cru/FCREPO-CR-11
>
> I think the biggest hang-up in the whole process was figuring out
> which exclusions had to be done in the root pom for which libraries,
> so that the real log4j and commons-logging libraries wouldn't be
> accidentially transitively included.  I found "mvn dependency:tree"
> helpful along the way.
>
> - Chris
>
> On Wed, Feb 10, 2010 at 4:39 PM, Chris Wilper <[email protected]>
> wrote:
> > On Wed, Feb 10, 2010 at 1:35 PM, Andrew Woods <[email protected]>
> wrote:
> >> Sounds interesting, Chris.
> >> Have you come across any hang-ups in the process of testing out
> >> Logback? any particularly interesting lessons?
> >
> > So far, it's been very good.  I've configured it much like we had
> > log4j configured (there's a log4j.properties-to-logback.xml translator
> > on the slf4j site), and it behaves basically the same.  (though you've
> > got to escape the ")" character as "\\)" if it occurs in your layout
> > pattern...the translator doesn't do that automatically).
> >
> > A couple other interesting differences:
> > + It can do variable substitution on system properties in the config
> file.
> > + It can be set to reload the logging configuration (if it was loaded
> > from a file) periodically.
> >
> > There's plenty of good documentation on all this here:
> > http://logback.qos.ch/manual/joran.html
> >
> > - Chris
> >
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Fedora-commons-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to