#NEWLINE# def setup_logger( self ) : #NEWLINE# #INDENT# from traits.etsconfig.api import ETSConfig #NEWLINE# path = join ( ETSConfig . application_data , 'mayavi_e3' , 'mayavi.log' ) #NEWLINE# path = abspath ( path ) #NEWLINE# logger = logging . getLogger ( ) #NEWLINE# setup_logger ( logger , path , mode = path . log_mode )