From d7ea54539ca9a8db2c5c49d8d3c94534982789b6 Mon Sep 17 00:00:00 2001 From: Tyson Clugg Date: Tue, 22 Sep 2015 11:55:35 +1000 Subject: [PATCH] Show API endpoints when `dddp` command run with verbosity above `1`. --- dddp/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dddp/main.py b/dddp/main.py index babbc36..66c6f22 100644 --- a/dddp/main.py +++ b/dddp/main.py @@ -191,8 +191,9 @@ class DDPLauncher(object): self.logger.debug('PostgresGreenlet start') self._stop_event.clear() self.print('=> Discovering DDP endpoints...') - for api_path in sorted(self.api.api_path_map()): - self.logger.debug(' %s', api_path) + if self.verbosity > 1: + for api_path in sorted(self.api.api_path_map()): + print(' %s' % api_path) # start greenlets self.pgworker.start()