Re: Netbeans RCP and logging

Bernd Köster <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <[email protected]>
Ok, we'll do it this way. I hoped that one could add a configuration f.e. a logging.properties in the /etc and change the logging behavior. 

Bernd Köster 

Von: "Geertjan Wielenga" <[email protected]> 
An: "Bernd Köster" <[email protected]> 
CC: "NetbeansUusers" <[email protected]> 
Gesendet: Donnerstag, 13. März 2025 11:28:13 
Betreff: Re: Netbeans RCP and logging 

Maybe: https://netbeans.apache.org/wiki/main/netbeansdevelopperfaq/DevFaqLogging/ 

Gj 

On Thu, Mar 13, 2025 at 11:22 AM Bernd Köster <[email protected]> wrote: 
> 
> Hi Mark, 
> 
> right now we use java.util.logging and the messages are written to the messages.log. For most entries the timestamp ist missing f.e. this standard one: 
> 
> INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 34.176.884.736 
> 
> It seems to me, that if the message comes through an framework like log4j the timestamp is logged. 
> 
> If I look into the NbFormatter class, I can see that the NbFormatter (https://github.com/apache/netbeans/blob/master/platform/core.startup/src/org/netbeans/core/startup/logging/NbFormatter.java) produces exactly this message, but there does not seem to be an configuration option. 
> 
> Thanks for your time, 
> 
> Bernd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.