Skip to content

Commit de9b0b2

Browse files
committed
Fix CEF warnings/errors not saved to debug.log when --debug flag
is specified.
1 parent b3ad7ba commit de9b0b2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Authors

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Core developers:
2-
Czarek Tomczak <czarek.tomczak@@gmail.com>
2+
Czarek Tomczak <czarek.tomczak2@@gmail.com>
33

44
Contributors:
55
老农 cjjer <cjjer@@59490.com>

src/cefpython.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ def Initialize(applicationSettings=None, commandLineSwitches=None, **kwargs):
612612
global g_debugFile
613613
if "--debug" in sys.argv:
614614
application_settings["debug"] = True
615+
application_settings["log_file"] = "debug.log"
615616
application_settings["log_severity"] = LOGSEVERITY_WARNING
616617
sys.argv.remove("--debug")
617618
if "debug" in application_settings:

0 commit comments

Comments
 (0)