摘要:
一、默认日志配置在django 1.4中默认有一个简单的日志配置,如下# A sample logging configuration. The only tangible logging# performed by this configuration is to send an email to... 阅读全文
摘要:
python的日志模块为logging,它可以将我们想要的信息输出保存到一个日志文件中。# cat log import logginglogging.debug('This is debug message')logging.info('This is info message')logging.... 阅读全文