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

-Dlogback.debug=true with default config (so no logback.xml anywhere) should still output one line so its clear that the system property got picked up

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

    Description

      It's easy to misspell `-Dlogback.debug=true`. When you use that property and nothing shows up in the log, it's impossible to easily see if there is no logging configuration (so the default is used) or if you misspelled it or misused it (for example used `-Dlogback.debug=true` as a program argument instead of a vm parameter).

      If there is no logging configuration with `-Dlogback.debug=true`, output something like "No logback configuration found, using the default config instead".

      Attachments

        Activity

          People

            logback-dev Logback dev list
            ge0ffrey Geoffrey De Smet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: