From 90681153ad3af45aa4c09ced28effd2beb2881f1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 11 Mar 2012 19:58:23 +0100 Subject: samba-tool: Write diagnostics to stderr rather than stdout. --- source4/scripting/python/samba/netcmd/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/scripting/python/samba/netcmd/__init__.py b/source4/scripting/python/samba/netcmd/__init__.py index f0cf7809c2..0d6b97f24e 100644 --- a/source4/scripting/python/samba/netcmd/__init__.py +++ b/source4/scripting/python/samba/netcmd/__init__.py @@ -172,7 +172,7 @@ class Command(object): """Get a logger object.""" import logging logger = logging.getLogger(name) - logger.addHandler(logging.StreamHandler(self.outf)) + logger.addHandler(logging.StreamHandler(self.errf)) return logger -- cgit