mirror of
https://github.com/rbreu/beeref.git
synced 2026-03-11 08:54:28 +00:00
Add logfile name to logfile viewer
This commit is contained in:
parent
b8dfbf0747
commit
4385defaaf
2 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ logging_conf = {
|
|||
'class': 'beeref.utils.BeeRotatingFileHandler',
|
||||
'formatter': 'verbose',
|
||||
'filename': logfile_name(),
|
||||
'maxBytes': 1024 * 1000 * 50,
|
||||
'maxBytes': 1024 * 1000, # 1MB
|
||||
'backupCount': 1,
|
||||
'level': 'DEBUG',
|
||||
'delay': True,
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ class DebugLogDialog(QtWidgets.QDialog):
|
|||
|
||||
layout = QtWidgets.QVBoxLayout()
|
||||
self.setLayout(layout)
|
||||
layout.addWidget(QtWidgets.QLabel(logfile_name()))
|
||||
layout.addWidget(scroll)
|
||||
layout.addWidget(buttons)
|
||||
self.show()
|
||||
|
|
|
|||
Loading…
Reference in a new issue