cqf-tooling icon indicating copy to clipboard operation
cqf-tooling copied to clipboard

`System.out` is used for logging as opposed to slf4j

Open JPercival opened this issue 2 years ago • 1 comments

Describe the bug Various parts of the tooling log errors / warnings to System.out instead of a logging framework. This makes it difficult to redirect logging to a file or to distinguish errors from the actual output. Here's an example:

IOUtils logging

This is prevalent throughout the tooling.

Ideally, all logging goes through a logging framework such that it can be redirected to a file or filtered according to the end-users' preference. Only output related to CLI operations should go directly to STDOUT.

JPercival avatar Jul 12 '21 22:07 JPercival