diff --git a/modules/database.py b/modules/database.py index a7432d0..1a5ee7d 100644 --- a/modules/database.py +++ b/modules/database.py @@ -455,6 +455,15 @@ def run_database_command(cmd_string, username, hide=False): cmd_string=cmd_string, ) + if env.debug: + + # print out the full command and return + + logger = loggify('database', 'run_database_command') + logger.debug("run_database_command = %s" % cmd_full) + + return + # NOTE # DO NOT USE "with hide" # one of the commands is to access to psql commandline