Dekrate opened a new pull request, #19497:
URL: https://github.com/apache/camel/pull/19497

   ### JIRA Ticket
   
   Resolves: [CAMEL-22502](https://issues.apache.org/jira/browse/CAMEL-22502)
   
   # Description
   
   This pull request addresses the task of replacing raw `System.out.println` 
and `System.err.println` calls with the project's standard SLF4J logging 
framework.
   
   Using direct console outputs bypasses the configured logging mechanism, 
making logs inconsistent and difficult to manage in different environments. 
This change ensures that all output is properly channeled through the SLF4J 
API, respecting configured log levels and appenders.
   
   Instances of `System.out` and `System.err` have been replaced with 
appropriate logger calls (`LOG.info()`, `LOG.debug()`, `LOG.warn()`, 
`LOG.error()`) based on the context of the message.
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   <!--
   # *Note*: trivial changes like, typos, minor documentation fixes and other 
small items do not require a JIRA issue. In this case your pull request should 
address just this issue, without pulling in other changes.
   -->
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   
   - [x] I have run `mvn clean install -DskipTests` locally from root folder 
and I have committed all auto-generated changes.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to