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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
15 matches
Mail list logo