but I can find the file "myapp.log" at current directory using IDLE
在 2016年2月26日星期五 UTC+8上午1:04:45,[email protected]写道: > > import logging > logging.basicConfig(level=logging.DEBUG, > > format='%(asctime)s %(filename)s[line:%(lineno)d] > %(levelname)s %(message)s', > datefmt='%a, %d %b %Y %H:%M:%S', > filename='myapp.log', > filemode='w') > logging.debug('This is debug message') > logging.info('This is info message') > logging.warning('This is warning message') > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
