kleinesfilmroellchen / sof-language

The Stack with Objects and Functions Programming Language, a pure stack-based reverse-polish-notation functional and object-oriented experimental programming language.
https://kleinesfilmroellchen.github.io/sof-language/
GNU General Public License v3.0
11 stars 0 forks source link

Messages of level SEVERE still show up on stdout even if no debug flag #3

Closed kleinesfilmroellchen closed 4 years ago

kleinesfilmroellchen commented 4 years ago

Describe the bug Messages from the Java Logging system that have level SEVERE (the highest level) show up on the standard output, which reveals unnecessarily much information to the normal user if they cause any compiler exception (syntax error or any runtime error).

To Reproduce Cause any compiler exception, e.g. unclosed strings.

Expected behavior No SEVERE messages show up on stdout, except when the -d debug flag is set.

To fix Set the ConsoleHandler's level in CLI.main to Level.OFF.