writing a log file from python program,logging.debug('next line')