Commit 0fd0e29
committed
ServiceHelper: report new services only in debug
The plethora of INFO messages every time a new context is created are
rather overwhelming, especially during unit testing when a new context
is spun up for each and every test.
This change will greatly decrease the amount of traffic on the console
under normal circumstances. The service creation messages are still
easily available by first setting:
System.setProperty("scijava.log.level:org.scijava.service", "debug");
With such a property set, the ServiceHelper will emit messages at debug
level without infecting the entire JVM with debug level messages.1 parent cd0d014 commit 0fd0e29
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
246 | | - | |
247 | | - | |
248 | 246 | | |
249 | | - | |
| 247 | + | |
| 248 | + | |
250 | 249 | | |
251 | 250 | | |
252 | 251 | | |
| |||
0 commit comments