Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-56

If the folder in which the log file is to be written is missing, no log file is ever created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • M0.4
    • util
    • None

    Description

      If my log file location is /home/samisa/axis2/c/deploy/log/axis2.log and if the folder /home/samisa/axis2/c/deploy/log/ does not exist, then no log is written. At least it should report an error to the user and then redirect the log messages to stderr.

      I think the better option sould be to create the folder if it is missing and then create the log file - needs bit of coding but that is the clean way to do the job. If creation of files/folders fail (e.g. due to no access rights) then we should report that and redirect the log messaged to stderr.

      Attachments

        Activity

          People

            Unassigned Unassigned
            samisa Don Samisa Abeysinghe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: