mirror of
https://github.com/IEEE-SB-Passau/pelican-deployment-system.git
synced 2017-09-06 16:35:38 +02:00
more logging things
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import os
|
||||
import logging
|
||||
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit("Not meant to be run directly!")
|
||||
@@ -8,6 +9,9 @@ def _rsync_cmd(dest):
|
||||
"'{output}/' '{dest}'")
|
||||
return cmd.format(dest=dest, output="{output}")
|
||||
|
||||
# configure the logger
|
||||
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(message)s')
|
||||
|
||||
# make sure git does not block giving pw prompts, git 2.3+ only
|
||||
os.environ["GIT_TERMINAL_PROMPT"] = "0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user