You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOGGER.log(Level.INFO,"[DataSourceDump] --> opened file with events # " );
This is an INFO level printout, and it would be preferable not to have it streamed to stderr (especially for the case of running batch jobs, where parsing multiple error logs is essential).
Feature request:
send INFO to stdout and send WARNING and SEVERE to stderr; this may not be easy but something like https://stackoverflow.com/a/23717493 may be related.
aside: there are some cases of System.out.println("ERROR: ..."); which should either be changed to System.err.println or use an appropriate Logger level
The text was updated successfully, but these errors were encountered:
Test:
Run with:
Expected result:
log.stderr
should be empty, indicating no errors (nothing streamed tostderr
)Actual result:
log.stderr
containswhich appears to originate from
coatjava/common-tools/clas-io/src/main/java/org/jlab/io/hipo/HipoDataSource.java
Line 62 in 40e293d
This is an
INFO
level printout, and it would be preferable not to have it streamed tostderr
(especially for the case of running batch jobs, where parsing multiple error logs is essential).Feature request:
INFO
tostdout
and sendWARNING
andSEVERE
tostderr
; this may not be easy but something like https://stackoverflow.com/a/23717493 may be related.System.out.println("ERROR: ...");
which should either be changed toSystem.err.println
or use an appropriateLogger
levelThe text was updated successfully, but these errors were encountered: