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" <geertjan.wiele...@googlemail.com> 
An: "Bernd Köster" <bernd.koes...@bue-gmbh.de> 
CC: "NetbeansUusers" <users@netbeans.apache.org> 
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 <bernd.koes...@bue-gmbh.de> 
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 

Reply via email to