Re: How to disable message logging to Console and files from JCS
Gary Gregory <[email protected]> Fri, 7 Feb 2025 08:48:29 -0500
| Newsgroups | gmane.comp.jakarta.commons.user |
|---|---|
| Message-ID | <CACZkXPz7vX3YOm5W-+94wLFnjuaxF2seHBo3oE+gpBrLcg9R6Q@mail.gmail.com> |
On Fri, Feb 7, 2025 at 8:38 AM Piotr P. Karwasz <[email protected]> wrote: > > Hi Thomas, > > On 7.02.2025 14:19, Thomas Vandahl wrote: > >> 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. > > I used GitHub instead of opening the project in an IDE, hence the "dozen". > > Keeping the system as-is and switching to `System.Logger` directly in > 4.x sounds good to me. Sounds good to me as well. Gary > > Piotr > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >