diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 8096f969..8c3631ba 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -130,6 +130,9 @@ class LazyWriter(object): def isatty(self): return bool(self.fileobj and self.fileobj.isatty()) + def fileno(): + return self.fileobj.fileno() + class SafeAtoms(dict):