Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-306

FileAppender --- very aggressive default file locking on Windows since moving to APR

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.10.0
    • None
    • Appender
    • None
    • Windows XP SP2 on Intel Xeon

    Description

      Since moving to APR, the file locking (or sharing attributes perhaps?) of FileAppender have become very aggressive.

      The end result is that when my application is logging intensively, I am unable to tail, copy, or grep the log file (it generates a permissions error!).

      In production environments, this can be a clear no-no — perhaps this could be made configurable (eg if there were performance reasons behind the current way of doing things)

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            aerskine Allan Erskine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: