Results 1 to 3 of 3

Thread: Log4j problems with Spring

  1. #1

    Angry Log4j problems with Spring

    I'm just trying out Spring for the first time. I'm using it in swing application. It *appears* that after I first create my ApplicationContext, that none my applications log4j messages happen.

    I assume that creating that context is causing Spring to reconfigure log4j. I'd like to know how I should make these two configurations be 'combined' rather than one clobbering the other.

    Thanks
    David

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

    Default

    Spring uses commons-logging not log4j directly so it doesn't try to configure it. What is your log4j configuration and how do you create your appContext?
    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

  3. #3

    Default

    It appears to have been a user-error. Sorry for the mistake.

    David

Posting Permissions

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