[Checkins] [zopefoundation/ZConfig] 6fdc6a: support "delay" and "encoding" for <logfile>

GitHub noreply at github.com
Tue Dec 4 15:53:22 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZConfig
  Commit: 6fdc6a82d79e51ea4fa3ecc995b47c369ae50364
      https://github.com/zopefoundation/ZConfig/commit/6fdc6a82d79e51ea4fa3ecc995b47c369ae50364
  Author: Fred Drake <fred.drake at keepertech.com>
  Date:   2018-12-03 (Mon, 03 Dec 2018)

  Changed paths:
    M CHANGES.rst
    M ZConfig/components/logger/handlers.py
    M ZConfig/components/logger/handlers.xml
    M ZConfig/components/logger/loghandler.py
    M ZConfig/components/logger/tests/test_logger.py
    M setup.py

  Log Message:
  -----------
  support "delay" and "encoding" for <logfile>

- neither parameter is supported for STDOUT, STDERR
  (errors are reported at the time the handler is
  constructed)

- closes #49


  Commit: 63465a89730160fe9c8e8123b2115527829eb921
      https://github.com/zopefoundation/ZConfig/commit/63465a89730160fe9c8e8123b2115527829eb921
  Author: Fred Drake <fred.drake at keepertech.com>
  Date:   2018-12-04 (Tue, 04 Dec 2018)

  Changed paths:
    M ZConfig/components/logger/loghandler.py

  Log Message:
  -----------
  use self._open instead of builtins.open

logging.FileHandler._open already deals with py2/py3 compatiblity, and handles
all the parameters to open a file in a consistent way; no need to reimplement
in just one case


  Commit: 4de9beaf465a0c3629a0ab5bbe85a6ccac6257a5
      https://github.com/zopefoundation/ZConfig/commit/4de9beaf465a0c3629a0ab5bbe85a6ccac6257a5
  Author: Fred Drake <fred at fdrake.net>
  Date:   2018-12-04 (Tue, 04 Dec 2018)

  Changed paths:
    M CHANGES.rst
    M ZConfig/components/logger/handlers.py
    M ZConfig/components/logger/handlers.xml
    M ZConfig/components/logger/loghandler.py
    M ZConfig/components/logger/tests/test_logger.py
    M setup.py

  Log Message:
  -----------
  Merge pull request #51 from zopefoundation/fd-logfile-delay-and-encoding

support "delay" and "encoding" for <logfile>


Compare: https://github.com/zopefoundation/ZConfig/compare/6e1f351b642c...4de9beaf465a
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list