Ceki,
It appears that logback-beagle is not outputting log items at the TRACE level,
and the log accumulates (even after clearing) between successive runs of an
application.
So if I clear the log, run the app with ERROR, I see an event count of one. But
if I right click and change the ERROR level to WARN, I now see all events (warn
and below) from the time I started eclipse and ran the app the first time. This
may be the desired design, but it is not one that I was expecting. To actually
clear the log, I have to restart Eclipse. This is running on Eclipse-Juno with
Java 1.7.
My logback.xml file is just the beagle entry:
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="true"> <!-- sends logs to logback-beagle -->
<consolePlugin />
</configuration>
The code is very simple:
public class BeagleTest {
private static final Logger LOGGER =
LoggerFactory.getLogger(BeagleTest.class);
public static void main(String[] args) {
LOGGER.trace("Message 1");
LOGGER.debug("Message 2");
LOGGER.info("Message 3");
LOGGER.warn("Message 4");
LOGGER.error("Message 5");
}
}
Larry Smith
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of ceki
Sent: Friday, August 24, 2012 3:12 PM
To: logback users list
Subject: [logback-user] Release of logback-beagle 1.1.0
Hello all,
I am happy to announce the release of logback-beagle 1.1.0, an eclipse plug-in
for viewing logs. This release is a complete overhaul of the code bringing
several new features.
For more information on logback-beagle please see:
http://logback.qos.ch/beagle/
Logback-beagle requires the Nebula Grid which can be installed from
http://download.eclipse.org/technology/nebula/snapshot/
Once Nebula Grid is installed, you can install logback-beagle from
http://logback.qos.ch/p2/
You can receive logback related announcements by subscribing to the QOS.ch
announce mailing list. To subscribe to QOS.ch announce list, please visit the
following URL.
http://www.qos.ch/mailman/listinfo/announce
Enjoy,
--
Ceki
http://tinyurl.com/proLogback
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user