[New-bugs-announce] [issue18345] logging: file creation options with FileHandler and friends

Antoine Pitrou report at bugs.python.org
Tue Jul 2 10:41:06 CEST 2013


New submission from Antoine Pitrou:

When starting a service as root, you may want your log files to be created as another user (the service may drop privileges later). It would be nice to have a "chown" option to FileHander. For example it could take either a "username" string, or a ("username", "groupname") tuple.

(a similar request may be made for chmod, but umask helps a lot there)

This is quite low-priority :)

----------
components: Library (Lib)
messages: 192181
nosy: pitrou, vinay.sajip
priority: low
severity: normal
status: open
title: logging: file creation options with FileHandler and friends
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18345>
_______________________________________


More information about the New-bugs-announce mailing list