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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18345>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to