Commit 136af187 authored by fendouai's avatar fendouai

change the filemod of the logging,from w to a

parent d9454aaf
......@@ -16,7 +16,7 @@ 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 = 'jpush.log',
filemode = 'w')
filemode = 'a')
class JPush(object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment