mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Tiny logging changes
This commit is contained in:
parent
ea624dec61
commit
230dffeef2
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ class GenericBot:
|
||||||
"""Create an :py:class:`royalnet.database.Alchemy` with the tables required by the packs. Then,
|
"""Create an :py:class:`royalnet.database.Alchemy` with the tables required by the packs. Then,
|
||||||
find the chain that links the ``master_table`` to the ``identity_table``. """
|
find the chain that links the ``master_table`` to the ``identity_table``. """
|
||||||
if self.uninitialized_database_config:
|
if self.uninitialized_database_config:
|
||||||
log.info(f"Database: enabled")
|
log.info(f"Alchemy: enabled")
|
||||||
required_tables = {self.uninitialized_database_config.master_table, self.uninitialized_database_config.identity_table}
|
required_tables = {self.uninitialized_database_config.master_table, self.uninitialized_database_config.identity_table}
|
||||||
for command in self.uninitialized_commands:
|
for command in self.uninitialized_commands:
|
||||||
required_tables = required_tables.union(command.tables)
|
required_tables = required_tables.union(command.tables)
|
||||||
|
@ -144,7 +144,7 @@ class GenericBot:
|
||||||
self.identity_chain = relationshiplinkchain(self.master_table, self.identity_table)
|
self.identity_chain = relationshiplinkchain(self.master_table, self.identity_table)
|
||||||
log.debug(f"Identity chain: {' -> '.join([str(item) for item in self.identity_chain])}")
|
log.debug(f"Identity chain: {' -> '.join([str(item) for item in self.identity_chain])}")
|
||||||
else:
|
else:
|
||||||
log.debug(f"Database: disabled")
|
log.info(f"Alchemy: disabled")
|
||||||
self.alchemy = None
|
self.alchemy = None
|
||||||
self.master_table = None
|
self.master_table = None
|
||||||
self.identity_table = None
|
self.identity_table = None
|
||||||
|
|
Loading…
Reference in a new issue