diff options
author | Marko Kreen | 2009-04-29 15:20:34 +0000 |
---|---|---|
committer | Marko Kreen | 2009-04-29 15:20:34 +0000 |
commit | 54b28705153b60793e1e673040acb0b67680d41d (patch) | |
tree | 91e03e3cb26ec220632c5ed1a2109fce5ec0d077 /python | |
parent | 92e7a016c36538e4d292e718685ab5b1c054e03d (diff) |
londiste copy: don't give -q unconditionally to copy process.
Seems the original logic assument pgbouncer-like -q,
which only disabled stdout. But DBScript sets
global log level with it.
Diffstat (limited to 'python')
-rw-r--r-- | python/londiste/playback.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/londiste/playback.py b/python/londiste/playback.py index a7af4165..d6a6b668 100644 --- a/python/londiste/playback.py +++ b/python/londiste/playback.py @@ -666,7 +666,11 @@ class Replicator(CascadedWorker): self.log.info("Launching copy process") script = sys.argv[0] conf = self.cf.filename - cmd = [script, conf, 'copy', tbl_stat.name, '-d', '-q'] + cmd = [script, conf, 'copy', tbl_stat.name, '-d'] + + # pass same verbosity options as main script got + if self.options.quiet: + cmd.append('-q') if self.options.verbose: cmd.append('-v') |