Mercurial > libervia-backend
comparison sat/memory/memory.py @ 3148:60a9e47ef988
core: log filenames of read config files
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Jan 2020 19:42:02 +0100 |
parents | 559a625a236b |
children | 330a5f1d9eea |
comparison
equal
deleted
inserted
replaced
3147:c3e8ddf3a071 | 3148:60a9e47ef988 |
---|---|
235 self.subscriptions = {} | 235 self.subscriptions = {} |
236 self.auth_sessions = PasswordSessions() # remember the authenticated profiles | 236 self.auth_sessions = PasswordSessions() # remember the authenticated profiles |
237 self.disco = Discovery(host) | 237 self.disco = Discovery(host) |
238 # XXX: tmp update code, will be removed in the future | 238 # XXX: tmp update code, will be removed in the future |
239 tools_config.fixLocalDir(False) | 239 tools_config.fixLocalDir(False) |
240 self.config = tools_config.parseMainConf() | 240 self.config = tools_config.parseMainConf(log_filenames=True) |
241 database_file = os.path.expanduser( | 241 database_file = os.path.expanduser( |
242 os.path.join(self.getConfig("", "local_dir"), C.SAVEFILE_DATABASE) | 242 os.path.join(self.getConfig("", "local_dir"), C.SAVEFILE_DATABASE) |
243 ) | 243 ) |
244 self.storage = SqliteStorage(database_file, host.version) | 244 self.storage = SqliteStorage(database_file, host.version) |
245 PersistentDict.storage = self.storage | 245 PersistentDict.storage = self.storage |