#NEWLINE# def getLogger( name ) : #NEWLINE# #INDENT# log = logging . getLogger ( name ) #NEWLINE# log . setLevel ( logging . DEBUG ) #NEWLINE# fh = logging . FileHandler ( FILE_NAME ) #NEWLINE# fh . setLevel ( logging . DEBUG ) #NEWLINE# fh . setFormatter ( logging . Formatter ( '%(asctime)s - %(levelname)s - %(name)s:%(lineno)s: %(message)s' ) ) #NEWLINE# log . addHandler ( fh ) #NEWLINE# return log