#NEWLINE# def _setupLogging( ) : #NEWLINE# #INDENT# log = logging . getLogger ( 'dockermix' ) #NEWLINE# log . setLevel ( logging . DEBUG ) #NEWLINE# formatter = logging . Formatter ( '%(asctime)s %(levelname)-10s %(message)s' ) #NEWLINE# filehandler = logging . FileHandler ( 'dockermix.log' , 'w' ) #NEWLINE# filehandler . setLevel ( logging . DEBUG ) #NEWLINE# filehandler . setFormatter ( formatter ) #NEWLINE# log . addHandler ( filehandler ) #NEWLINE# return log