mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-17 12:13:52 +00:00
add log option for server
This commit is contained in:
parent
45dcd53bd9
commit
53a862375b
2 changed files with 3 additions and 1 deletions
|
|
@ -116,7 +116,8 @@ class RouterManager:
|
|||
else:
|
||||
logging.warning("unknown router: %s", routerName)
|
||||
|
||||
self._saveStats() # write stats to stats file
|
||||
if self.config.get('server.logging', False):
|
||||
self._saveStats() # write stats to stats file
|
||||
|
||||
def cleanup(self):
|
||||
"""!Run cleanup routines for all loaded route points"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue