Add system info to debug log

This commit is contained in:
Rebecca Breu 2021-09-06 07:08:44 +02:00
parent 4b5564ed2f
commit 580d15c79a

View file

@ -16,6 +16,7 @@
# along with BeeRef. If not, see <https://www.gnu.org/licenses/>.
import logging
import platform
import signal
import sys
@ -88,6 +89,8 @@ sys.excepthook = handle_uncaught_exception
def main():
logger.info(f'Starting {constants.APPNAME} version {constants.VERSION}')
logger.debug('System: %s', ' '.join(platform.uname()))
logger.debug('Python: %s', platform.python_version())
settings = BeeSettings()
logger.info(f'Using settings: {settings.fileName()}')
logger.info(f'Logging to: {logfile_name()}')