Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-256

Generate a default log4j XML or properties file when creating a project

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.RC1
    • Fix Version/s: 1.0.0.RC4
    • Component/s: MONITORING
    • Labels:
      None
    • Environment:
      any

      Description

      Many Spring components depend on log4j directly or indirectly and the POM produced by Roo expects log4j. However there is no default log4j configuration file so you always get log4j warning messages at start-up - like this:

      log4j:WARN No appenders could be found for logger (org.springframework.test.context.junit4.SpringJUnit4ClassRunner).
      log4j:WARN Please initialize the log4j system properly.

      Auto-generating a default log4j config file would be very useful and remove the ugly warnings.

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            paul.chapman Paul Chapman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: