Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-165

File Applender log twice in an EJB project on Glassfish 3.1.

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • logback-core
    • None
    • Glassfish 3.1 + JDK 1.6.24 - JEE 6 - Ubuntu 11.04 x86_64

    Description

      Not sure what's going on but the thing is that the log file appender logs everything twice in a EJB project.

      I want an EJB jar file with its own log file to be deployed on Glassfish 3.1. I am getting the Classloader and the resource (logback.xml) located in a directory. The URL to logback.xml is loaded up into Joran Configurator sucessfully. There are no configuration errors at all. The EJB starts to log in the file when it is deployed but every log output is twice !!.

      The weirdest thing is that if I create an web application, and I load up the configuration using the same approach(Joran Configurator), the logger works perfectly.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            jguerra Jose Guerra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: