Commit e3453f2
committed
StderrLogService: use stdout non-severe messages
The logging page at http://imagej.net/Logging states that severe logging
messages (WARN and ERROR levels) are emitted to stderr, while less
severe ones (INFO and DEBUG levels) are emitted to stdout.
This was not actually true with the default LogService implementation.
This commit addresses the situation.
Originally, I planned to make this change with SciJava Common 3.0.0,
because I thought we would need to break backwards compatibility to
achieve it. But actually, the change was easy to make in a smooth
manner. SJC3 will see a cleanup of the logging API, but that cleanup
is not a prerequisite to fixing the situation with stdout + stderr.
Thanks to Florian Jug for spurring this change.1 parent a94ff04 commit e3453f2
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
47 | 61 | | |
48 | 62 | | |
49 | 63 | | |
| |||
0 commit comments