Setting logging format.
This commit is contained in:
parent
88f484c58f
commit
e103194e1a
4 changed files with 8 additions and 5 deletions
|
@ -204,9 +204,9 @@ if __name__ == "__main__":
|
|||
args = parser.parse_args()
|
||||
|
||||
if args.verbose:
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=logging.DEBUG, format='%(message)s')
|
||||
else:
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
logging.basicConfig(level=logging.INFO, format='%(message)s')
|
||||
|
||||
tree = WorkingTree.open(args.directory)
|
||||
if args.packaging_directory:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue