Display import errors in the GUI as well as the terminal, issue 789, thanks Marc
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
keys=root,rocket,markdown,web2py,rewrite,app,welcome
|
||||
|
||||
[handlers]
|
||||
keys=consoleHandler
|
||||
keys=consoleHandler,messageBoxHandler
|
||||
#keys=consoleHandler,rotatingFileHandler
|
||||
#keys=osxSysLogHandler
|
||||
|
||||
@@ -72,7 +72,7 @@ propagate=0
|
||||
# loggers for legacy getLogger calls: Rocket and markdown
|
||||
[logger_rocket]
|
||||
level=WARNING
|
||||
handlers=consoleHandler
|
||||
handlers=consoleHandler,messageBoxHandler
|
||||
qualname=Rocket
|
||||
propagate=0
|
||||
|
||||
@@ -88,6 +88,12 @@ level=WARNING
|
||||
formatter=simpleFormatter
|
||||
args=(sys.stdout,)
|
||||
|
||||
[handler_messageBoxHandler]
|
||||
class=gluon.messageboxhandler.MessageBoxHandler
|
||||
level=ERROR
|
||||
formatter=simpleFormatter
|
||||
args=()
|
||||
|
||||
# Rotating file handler
|
||||
# mkdir logs in the web2py base directory if not already present
|
||||
# args: (filename[, mode[, maxBytes[, backupCount[, encoding[, delay]]]]])
|
||||
|
||||
Reference in New Issue
Block a user