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
 | 
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 


Von: "Mark A. Flacy" <mfl...@verizon.net.INVALID> 
An: "NetbeansUusers" <users@netbeans.apache.org> 
Gesendet: Donnerstag, 13. März 2025 10:48:16 
Betreff: Re: Netbeans RCP and logging 



Greetings, 


Which logging system do you intend to use? There's more than 1 and they are all 
configurable. 



-- 

Mark A. Flacy 

mfl...@verizon.net 


On Thursday, March 13, 2025 4:29:36 AM CDT Bernd Köster wrote: 

> Hello, 

> 

> we are investigating the Netbeans RCP Platform for an application 

> development. We are now searching for the right approach to configure the 

> logging in Netbeans. Our first change would be to enable the timestamp in 

> the logging. 

> 

> Is there a configuration file, which can be used to change the logging 

> behavior? 

> 

> Greetings, Bernd 

Reply via email to