Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-5510

Debug logger doesn't print any log messages when debug directory isn't available

    Details

    • Sprint:
      Sprint 76 - Sustaining, Sprint 77 - Sustaining

      Description

      If you debug directory isn't defined, you will have a lot of logs in stdout saying that the debug file can't be written but not the main log message.

      2015-02-09 11:34:20,984 INFO  [stdout] (default task-30) amAuth:02/09/2015 11:34:20:983 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,984 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,986 INFO  [stdout] (default task-30) amAuthContextLocal:02/09/2015 11:34:20:985 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,986 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,987 INFO  [stdout] (default task-30) amComm:02/09/2015 11:34:20:986 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,987 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='CoreSystem', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,989 INFO  [stdout] (default task-30) amSMS:02/09/2015 11:34:20:989 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,989 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Configuration', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,989 INFO  [stdout] (default task-30) amAuthConfig:02/09/2015 11:34:20:989 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,989 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,995 INFO  [stdout] (default task-30) amCallback:02/09/2015 11:34:20:995 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,995 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,996 INFO  [stdout] (default task-30) amLoginModule:02/09/2015 11:34:20:996 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,996 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,997 INFO  [stdout] (default task-30) amAuthDataStore:02/09/2015 11:34:20:997 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,997 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      2015-02-09 11:34:20,998 INFO  [stdout] (default task-30) amJAAS:02/09/2015 11:34:20:998 DE GMT: Thread[default task-30,5,main]
      2015-02-09 11:34:20,998 INFO  [stdout] (default task-30) Debug file can't be written : Failed to create debug directory Current Debug File : DebugFileImpl{debugName='Authentication', debugDirectory='null', fileCreationTime=02/09/2015 11:34:00:000 DE GMT}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin.castel Quentin CASTEL [X] (Inactive)
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: