Commits

Bruce Kroeze  committed b844e0c

cleanup typo of log filename

  • Participants
  • Parent commits 38860e7

Comments (0)

Files changed (3)

 development.py
 production.py
 playinfo.db
+playainfo.log

File playainfo/development_example.py

 from utils import logs
 _loglevels = {'root' : logs.DEBUG, 'keyedcache' : logs.INFO}
 _logfname = os.path.normpath(os.path.join(DIRNAME, '..'))
-_logfname = os.path.join(_logfname, 'playinfo.log') + ':20000000:20'
+_logfname = os.path.join(_logfname, 'playainfo.log') + ':20000000:20'
 log = logs.getLogger('settings', level=_loglevels,
       format="%(asctime)s [%(process)d] %(levelname)s %(name)s: %(message)s",
       outfile=_logfname, streaming=True)

File playainfo/production_example.py

 from utils import logs
 _loglevels = {'root' : logs.DEBUG, 'keyedcache' : logs.INFO}
 _logfname = os.path.normpath(os.path.join(DIRNAME, '..'))
-_logfname = os.path.join(_logfname, 'playinfo.log') + ':20000000:20'
+_logfname = os.path.join(_logfname, 'playainfo.log') + ':20000000:20'
 log = logs.getLogger('settings', level=_loglevels,
       format="%(asctime)s [%(process)d] %(levelname)s %(name)s: %(message)s",
       outfile=_logfname, streaming=True)