[logback-dev] [JIRA] Commented: (LBGENERAL-50) Swing Logger GUI (edit level and show root logger)

Laurent Bourges (JIRA) noreply-jira at qos.ch
Fri Dec 9 10:08:12 CET 2011


    [ http://jira.qos.ch/browse/LBGENERAL-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12332#action_12332 ] 

Laurent Bourges commented on LBGENERAL-50:
------------------------------------------

Here is how to use LogbackGui:

    /**
     * Show third party logging utility.
     */
    public static void showLogGui() {

// frame is only used to center the LogGui window relative to:
        final JFrame frame = (application != null) ? application.getFrame() : null;
   
        LogbackGui.showEditor(frame, "Application Log GUI");
    }


> Swing Logger GUI (edit level and show root logger)
> --------------------------------------------------
>
>                 Key: LBGENERAL-50
>                 URL: http://jira.qos.ch/browse/LBGENERAL-50
>             Project: logback-general
>          Issue Type: New Feature
>         Environment: linux x86_64 / sun jdk 1.6+
>            Reporter: Laurent Bourges
>            Assignee: Logback dev list
>            Priority: Trivial
>         Attachments: LogbackGui.tar.gz
>
>
> I was using JUL and loggui (http://www.informatrix.ch/loggui/index.html) to edit logger's level at runtime and look at application logs in our Swing applications; it is very useful when applications are deployed using Java Web Start (jnlp environment)
> I switched to SLF4J 1.6.4 / LOGBACK 1.0 last week. 
> As I wanted LogGui features for LogBack, I made it = LogbackGui (1 single and standalone java class): 
> This class provides two major functionnalities:
> - application log viewer
> - one simple  log GUI : Logger hierarchy browser / Level editor and displays current logs
> This class is dedicated to Slf4j @see http://www.slf4j.org/ (MIT License) using Logback @see http://logback.qos.ch/ (EPL v1.0 / LGPL 2.1).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list