Results 1 to 2 of 2

Thread: Turn off logging

  1. #1
    Join Date
    Feb 2009
    Posts
    13

    Question Turn off logging

    Hi all,
    I'm not sure if this is the right forum to post this tpic, because it not only covers Spring dm. I have an osgi application using Spring osgi 1.1.2, and it does a bunch of unwanted debug output to the console (mostly from org.springframework.beans.factory.support.DefaultL istableBeanFactory). I can't find the switch where I can turn off this logging. I use paxlogging, but if I configure it to only log to INFO level the debug output remains. In my project I removed all log4j.properties that I've found. Where do I have to place the config file in the right way?

    TIA,
    Ralf.

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Spring and Spring DM use commons logging internally. Make sure that whatever logging infrastructure you use, is set to a INFO or WARN level. In general, placing the configuration in the logging bundle classpath does the trick - this should be explained in your logging library documentation.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •