Python utils.logging.INFO Examples
The following are 1
code examples of utils.logging.INFO().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
utils.logging
, or try the search function
.
Example #1
Source File: command.py From cumulus with Apache License 2.0 | 6 votes |
def cli(ctx, verbose, config, girder_section, aws_section): if verbose == 1: logging.basicConfig( format='%(asctime)s %(levelname)-5s - %(message)s', level=logging.INFO) elif verbose > 1: logging.basicConfig( format='%(asctime)s %(levelname)-5s - %(message)s', level=logging.DEBUG) ctx.obj = Proxy( config, girder_section=girder_section, aws_section=aws_section) ctx.obj.verbose = verbose ############################################################################### # Profile Commands #