Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-538

Erlang crashing when log file cannot be written

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10
    • 1.1, 1.2
    • Infrastructure
    • None
    • Linux Ubuntu 32bit and 64bit

    • Regular Contributors Level (Easy to Medium)

    Description

      When couchdb cannot write to its log file erlang just crashes without any hint what is going wrong. This happens for instance if the log file directory path does not exists.

      In some older releases (0.9) it seemed to have created the missing directories automatically (if permissions are ok). 0.10 does not even try to create the directories. The log path needs to exist.

      At least a proper error message should be added to make clear that there is a problem writing the log file.

      Attachments

        1. COUCHDB-538.patch
          0.7 kB
          Frank

        Issue Links

          Activity

            People

              Unassigned Unassigned
              longsleep Simon Eisenmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: