Skip to content

Commit 2847608

Browse files
eregonabdelberni
authored andcommitted
graalpy -v should not override Truffle log level
* It's a CPython-compatible flag and should only set the Python flag, not touch log levels. * Otherwise `graalpy --log.level=FINE -v ...` is actually at INFO and not FINE level which is very confusing. (cherry picked from commit cea4899)
1 parent 7bea1ce commit 2847608

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,6 @@ protected void launch(Builder contextBuilder) {
778778
contextBuilder.option("python.IntMaxStrDigits", Integer.toString(intMaxStrDigits));
779779
}
780780
contextBuilder.option("python.DontWriteBytecodeFlag", Boolean.toString(dontWriteBytecode));
781-
if (verboseFlag) {
782-
contextBuilder.option("log.python.level", "INFO");
783-
}
784781
contextBuilder.option("python.QuietFlag", Boolean.toString(quietFlag));
785782
contextBuilder.option("python.NoUserSiteFlag", Boolean.toString(noUserSite));
786783
contextBuilder.option("python.NoSiteFlag", Boolean.toString(noSite));

0 commit comments

Comments
 (0)