Re: Netbeans RCP and logging

2025-03-19 Thread Peter Kirkham
I had this issue a few years ago and wrote a blog post about how I set it up: https://pkirkham.github.io/pyrus/logging-in-netbeans-platform/ I might have changed a few things since this was written and NetBeans / JDK continues to evolve, but it should point the way. Best regards, Peter On

Re: Netbeans RCP and logging

2025-03-15 Thread Bernd Köster
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

Re: Netbeans RCP and logging

2025-03-14 Thread Bernd Köster
And the link: https://plugins.netbeans.apache.org/catalogue/?id=40 Von: "Bernd Köster" An: "NetbeansUusers" Gesendet: Freitag, 14. März 2025 12:23:20 Betreff: Re: Netbeans RCP and logging As it does not seem to get configurable, we try the solution in the FAQs

Re: Netbeans RCP and logging

2025-03-14 Thread Bernd Köster
a" CC: "NetbeansUusers" Gesendet: Donnerstag, 13. März 2025 17:06:03 Betreff: 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. What w

Re: Netbeans RCP and logging

2025-03-13 Thread Bernd Köster
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" An: "Bernd Köster" CC: "NetbeansUusers" Gesendet: Donnerstag, 13. März 2

Re: Netbeans RCP and logging

2025-03-13 Thread Eirik Bakke
> 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: B

Re: Netbeans RCP and logging

2025-03-13 Thread Mark A. Flacy
Greetings, https://docs.oracle.com/javase/8/docs/api/java/util/logging/SimpleFormatter.html[1] and https://docs.oracle.com/javase/8/docs/technotes/guides/logging/overview.html[2] should provide some answers. -- Mark A. Flacy /mfl...@verizon.net/ On Thursday, March 13, 2025 5:21:55 AM

Re: Netbeans RCP and logging

2025-03-13 Thread Geertjan Wielenga
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, > > Bern

Re: Netbeans RCP and logging

2025-03-13 Thread Mark A. Flacy
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

Netbeans RCP and logging

2025-03-13 Thread Bernd Köster
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

Logging

2020-12-08 Thread HRH
Hi, The "insert code" from the context menu has an option to add code to create an instance of a Logger class. Is there a way to have Netbeans IDE to automatically insert Logger.entering() and Logger.existing() in the methods of Java classes (I am using NB 12.1)? Thanks

NetBeans 8 logging stream

2020-09-07 Thread Christophe DOLCI
Hello all, I’m using Netbeans RCP 8.0 (I know that’s an old one) like a framework for my application and, when I called it in script, all the log (fine, standard, error) is write in the stream stderr. I would like to receive separate properly the stdout with my working logs and the stderr with

dynamically changing logging levels in NetBeans

2020-06-30 Thread Ernie Rael
Greetings, The "LogMan-Netbeans" plugin is now available through the plugin-manager/plugin-portal, PP3, for 11.0/12.0. In a pinch, if you want to turn on some logging, this plugin can be installed without restart. -ernie Here's some of the intro/description from the plugin po

No logging in NB output window

2020-05-17 Thread Jerome Lelasseux
Hi, I remember that with Netbeans8/JDK 8, when I ran my java program from Netbeans the logging output was shown in the Netbeans output window. And when an exception occured the stack trace was shown with hyperlinks to code source, which was super convenient. Today I use Netbeans 11.3 with

Payara Logging issue

2020-03-11 Thread Stutzman, David K CTR USARMY CCDC C5ISR (USA)
Was wondering if someone could point me in the right direction with an issue we've been seeing. Ever since 11.0 came out the console logging for the Payara Server seems to be getting parsed incorrectly. We've been using SLF4J/Logback and <=NB 10.0 this has worked great. Once 11.0