> 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.
What was the solution you ended up with here? I have “add timestamps to NetBeans log messages” on my TODO list myself… -- Eirik From: Bernd Köster <[email protected]> Date: Thursday, March 13, 2025 at 6:42 AM To: Geertjan Wielenga <[email protected]> Cc: NetbeansUusers <[email protected]> Subject: Re: Netbeans RCP and logging 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
