Description
The lexer and parser from Antlr4 can have configured error listeners via addErrorListener(...), but this is currently not used. By default, it uses the ConsoleErrorListener, which prints to stderr (see here).
Steps to reproduce
- Parse a statement with errors
- Observe logs to stderr
Expected Behaviour
The components should use a proper logger, as everything else does in the JDBC driver.