mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Add system info to debug log
This commit is contained in:
parent
4b5564ed2f
commit
580d15c79a
1 changed files with 3 additions and 0 deletions
|
|
@ -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()}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue