Show API endpoints when dddp command run with verbosity above 1.

This commit is contained in:
Tyson Clugg 2015-09-22 11:55:35 +10:00
parent 5e545ee7c2
commit d7ea54539c

View file

@ -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()