Hi Piotr

> Am 06.02.2025 um 16:16 schrieb Piotr P. Karwasz <pi...@mailing.copernik.eu>:
> 
> Hi Thomas,
> 
> On 6.02.2025 10:47, Thomas Vandahl wrote:
>> One main design principle of JCS always was to have as few external 
>> dependencies as possible. In fact, JCS 3.0 core only depends on JDK.
>> Therefore, JUL was chosen as a logging framework. Log4j2 is an option. You 
>> may easily roll your own logging system, such as SLF4j. The wrapper was 
>> created to provide this versatility.
> 
> I know that not having dependencies is a very attractive characteristic, but 
> how does that work in practice?

It used to work, yes.


> On the other hand I see that JCS has a dozen log statements in total. Maybe 
> using JUL directly should be enough? This could be replaced with 
> `System.Logger` once Java 9 is selected as baseline.

Where did you get „a dozen" from? I count about 800 log-calls in the code. If 
switched to debug, JCS can be pretty chatty.
I like the System.Logger approach, however. JCS 4.0 will be Java 17 anyway, so 
let’s make that happen.

Bye, Thomas 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org

Reply via email to