errael commented on issue #8240:
URL: https://github.com/apache/netbeans/issues/8240#issuecomment-2660472433

   My limited experience with anything other than JUL, is with a library that 
was developed as part of much larger application. The app used log4j2 and it 
was used by the library. We can probably all agree that a library should use a 
facade and not a specific logger. Another selling point of using System.Logger 
is reducing the library's depency on 3rd party artifacts. I understand that 
projects have requirements for style/libraries/logging, but I don't understand:
   
   > Only the latter [JUL] could be changed, all others have to integrate with 
their corresponding ecosystem.
   
   After changing the library (in the example) to System.Logger, and adding the 
log4j2 bridge to the main app, it integrated fine into the existing ecosystem 
without any changes to the log4j2 configuration files and produced identical 
log output.
   
   But that's all beside the point.
   
   A facility to add/register arbitrary 3rd party logging frameworks/facades 
and their code generation templates/actions and a UI to specify which one to 
use when NB generates logging code doesn't sound like a bad idea. The most 
popular logging methods would be provided as reference implementations.
   
   It may be that extending existing capability with JDK's System.Logger is not 
worth it because of the possibility of re-architecting how NB generates logging.


-- 
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: notifications-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to