summaryrefslogtreecommitdiff
path: root/Makefile.defaults
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 10:09:29 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 10:12:45 +0100
commit9742a8317f66cc2802b3d92456ec0516a6de8c79 (patch)
tree5949a227bc2af861c6df0198c88e214100c42e43 /Makefile.defaults
parent6683818c182d396d17ea8bde035a91da20da9e9c (diff)
downloadnetsurf-9742a8317f66cc2802b3d92456ec0516a6de8c79.tar.gz
netsurf-9742a8317f66cc2802b3d92456ec0516a6de8c79.tar.bz2
Dukky: Add and utilise a jserrors category
Normal, and verbose logging will now also log all JS errors in order that we stand a chance of debugging things more easily when testing. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'Makefile.defaults')
-rw-r--r--Makefile.defaults4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.defaults b/Makefile.defaults
index cebd41cf8..12c83a11d 100644
--- a/Makefile.defaults
+++ b/Makefile.defaults
@@ -84,10 +84,10 @@ NETSURF_USE_NSLOG := AUTO
# Valid options are: DEEPDEBUG, DEBUG, VERBOSE, INFO, WARNING, ERROR, CRITICAL
NETSURF_LOG_LEVEL := INFO
# The log filter set during log initialisation before options are available
-NETSURF_BUILTIN_LOG_FILTER := level:WARNING
+NETSURF_BUILTIN_LOG_FILTER := "(level:WARNING || cat:jserrors)"
# The log filter set during log initialisation before options are available
# if the logging level is set to verbose
-NETSURF_BUILTIN_VERBOSE_FILTER := level:VERBOSE
+NETSURF_BUILTIN_VERBOSE_FILTER := "(level:VERBOSE || cat:jserrors)"
# Enable stripping the NetSurf binary
# Valid options: YES, NO