]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
rgw: use normal logging mechanism
authorSage Weil <sage@newdream.net>
Tue, 4 Oct 2011 23:09:32 +0000 (16:09 -0700)
committerSage Weil <sage@newdream.net>
Tue, 4 Oct 2011 23:09:51 +0000 (16:09 -0700)
Keep capturing stdout/err, even though it should end up empty.

Signed-off-by: Sage Weil <sage@newdream.net>
teuthology/task/rgw.py

index a5061d94b6be995a5b10d80b6e019fa374ecdea9..0e411e06a685b7a2becb905ebd7042db37c9f39e 100644 (file)
@@ -107,9 +107,10 @@ def start_rgw(ctx, config):
                 'term',
                 '/tmp/cephtest/binary/usr/local/bin/radosgw',
                 '-c', '/tmp/cephtest/ceph.conf',
+                '--log-file', '/tmp/cephtest/archive/log/rgw.log',
                 '/tmp/cephtest/apache/apache.conf',
                 run.Raw('>'),
-                '/tmp/cephtest/archive/log/rgw.log',
+                '/tmp/cephtest/archive/log/rgw.stdout',
                 run.Raw('2>&1'),
                 ],
             logger=log.getChild(client),