Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword AttributeLoad NameLoad attr Assign NameStore Dict Str Str Str Str Str Str Str BinOpSub AttributeLoad NameLoad attr Num BinOpSub AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body If UnaryOpNot NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr orelse If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A Module to setup logging configuration.

   .. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com>
 N/A logging N/A logging.handlers N/A os N/A os.path N/A sys compass.utils flags compass.utils setting_wrapper setting N/A N/A N/A flags add loglevel help logging level default N/A setting DEFAULT_LOGLEVEL N/A N/A N/A flags add logdir help logging directory default N/A setting DEFAULT_LOGDIR N/A N/A N/A flags add logfile help logging filename default None N/A N/A N/A flags add log_interval type int help log interval default N/A setting DEFAULT_LOGINTERVAL N/A N/A N/A flags add log_interval_unit help log interval unit default N/A setting DEFAULT_LOGINTERVAL_UNIT N/A N/A N/A flags add log_format help log format default N/A setting DEFAULT_LOGFORMAT N/A N/A N/A flags add log_backup_count type int help log backup count default N/A setting DEFAULT_LOGBACKUPCOUNT N/A LOGLEVEL_MAPPING N/A finest fine debug info warning error critical N/A N/A logging DEBUG 2 N/A N/A logging DEBUG 1 N/A logging DEBUG N/A logging INFO N/A logging WARNING N/A logging ERROR N/A logging CRITICAL N/A N/A N/A logging addLevelName N/A LOGLEVEL_MAPPING N/A fine fine N/A N/A N/A logging addLevelName N/A LOGLEVEL_MAPPING N/A finest finest N/A N/A N/A N/A N/A logging getLogger setLevel N/A logging CRITICAL getLevelByName N/A N/A level_name N/A N/A N/A Get log level by level name. N/A N/A LOGLEVEL_MAPPING N/A level_name N/A init N/A N/A N/A N/A N/A Init loggsetting. It should be called after flags.init. N/A loglevel N/A N/A N/A N/A flags OPTIONS loglevel lower N/A logdir N/A N/A flags OPTIONS logdir N/A logfile N/A N/A flags OPTIONS logfile N/A logger N/A N/A logging getLogger N/A N/A logger handlers N/A N/A handler N/A logger handlers N/A N/A N/A N/A logger removeHandler handler N/A logdir N/A N/A N/A logfile N/A N/A logfile N/A %s.log N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A handler N/A N/A N/A logging handlers TimedRotatingFileHandler N/A N/A N/A os path join logdir logfile when N/A N/A flags OPTIONS log_interval_unit interval N/A N/A flags OPTIONS log_interval backupCount N/A N/A flags OPTIONS log_backup_count N/A N/A N/A logfile N/A N/A handler N/A N/A logging StreamHandler N/A sys stderr N/A N/A handler N/A N/A N/A logging handlers TimedRotatingFileHandler logfile when N/A N/A flags OPTIONS log_interval_unit interval N/A N/A flags OPTIONS log_interval backupCount N/A N/A flags OPTIONS log_backup_count N/A N/A loglevel LOGLEVEL_MAPPING N/A N/A N/A N/A logger setLevel N/A LOGLEVEL_MAPPING N/A loglevel N/A N/A N/A handler setLevel N/A LOGLEVEL_MAPPING N/A loglevel N/A formatter N/A N/A logging Formatter N/A N/A flags OPTIONS log_format N/A N/A N/A handler setFormatter formatter N/A N/A N/A logger addHandler handler N/A