Live log viewer

Name Live log viewer
Version 0.9.2
Product Versions Confluence 2.4.5, Jira 3.8
Author(s) Brock Janiczak, Belinda Ivkovic
Homepage  
Price free
License BSD
JavaDocs  
IssueTracking  
Download JAR ConfluenceLogViewer-0.9.2.jar, JiraLogViewer-0.9.2.jar
Download Source LogViewer-0.9.2.zip

Description/Features

The live log viewer is a set of plugins that allow administrators to view the logging events from a running installation directly from the administration screens. The plugins hook directly into the logging system and do not read the logs from the disk. For performance reasons, only the last 500 events are recorded.

Usage

  1. Install the appropriate plugin into your Jira or Confluence installations lib directory
  2. Log in as an administrator
  3. Click on the "Log Viewer" link in the Admin/system setup section of the admin console
  4. The page should automatically load new logging events every 5 seconds

Only events generated after the plugin has been started will be visible and events will be delayed by at least 5 seconds.

Version History

  • 0.9 - Initial release
  • 0.9.1 - Improved look and added level filter
  • 0.9.2 - Fixed missing messages logged by "com.atlassian" loggers

TODO

  1. Improve performance
  2. Investigate creating a Bamboo plugin

Screenshots

Screenshots
(view as slideshow)
   
   
 

Labels

 
  1. Apr 22, 2007

    Bob Swift says:

    Good idea! Thanks for providing this. A couple of requests: # Confluence plugin ...

    Good idea! Thanks for providing this. A couple of requests:

    1. Confluence plugin shows liveLog.label instead of text. Jira one is ok.
    2. Please add Confluence one to plugin repository. Install via upload worked.
    1. Apr 24, 2007

      Brock Janiczak says:

      I think issue 1 is due to a confluence bug. I had the same problem in 2.2.3, but...

      I think issue 1 is due to a confluence bug. I had the same problem in 2.2.3, but upgrading to 2.4.5 fixed it. Perhaps i am just using the localisation support incorrectly.

      I will update the plugin repository once i have imported the plugin into the DevNet SVN repository

  2. Apr 22, 2007

    Mike Cannon-Brookes says:

    Mate top idea! I love it. Can we get a screenshot? You'll be amazed how much tha...

    Mate - top idea! I love it. Can we get a screenshot? You'll be amazed how much that increases people's propensity to download.

  3. Apr 23, 2007

    Jonathan Nolen says:

    Brilliant submission. Really useful. If you would like to set up a project on t...

    Brilliant submission. Really useful.

    If you would like to set up a project on the DevNet SVN for this, let me know. I can give you access if you don't already have it.

  4. Apr 24, 2007

    Bettina Zucker says:

    Hello, I just tried out this plugin with my test intallation of Jira 3.8.1 stan...

    Hello,

    I just tried out this plugin with my test intallation of Jira 3.8.1 standalone on Windows XP with mysql 4.1.

    I don't get any logs!

    In the console I had some logs, but the log.html remained empty, oly the column names appeared.
    This is link shown when I chose Administration->System->Log Viewer :

    http://localhost:8080/download/resources/com.atlassian.log:liveLogJira/log.html 

     The page looks like this:

    Log Contents

    Time Thread Level Category Message


     That's all!

    Cheers

    Bettina Zucker

    1. Apr 24, 2007

      Bob Swift says:

      Did you wait for some events to occur? It starts out empty and then gets new eve...

      Did you wait for some events to occur? It starts out empty and then gets new events.

    2. Apr 24, 2007

      Belinda Ivkovic says:

      Hi Bettina, The Live log viewer requires Jira to be restarted after its install...

      Hi Bettina,

      The Live log viewer requires Jira to be restarted after its installation and will only show events that have gone through log4j. It's likely that your log level is set to "WARN". If you want to test out that the plugin is working correctly you can set your log level to something more verbose like "INFO" or "DEBUG". Debug, will however generate heaps of events and is not recommended.

      To do this edit atlassian-jira\WEB-INF\classes\log4j.properties file and set the log4j.rootLogger=INFO and restart Jira.

      Regards,
      Belinda

      1. May 03, 2007

        Bettina Zucker says:

        Hello, as I wrote, I got some logs in the console, but not in the log viewer. No...

        Hello,

        as I wrote, I got some logs in the console, but not in the log viewer.

        Now I changed the level to INFO and got the info level logs. That's fine.

        The problem is I do not get any of the ERROR level logs!!!

        Cheers

        Bettina Zucker 

        1. May 07, 2007

          Belinda Ivkovic says:

          Hi Bettina, Thanks for identifying this. Version 0.9.2 has been uploaded which w...

          Hi Bettina,
          Thanks for identifying this. Version 0.9.2 has been uploaded which will address this issue. Try it out when you get time and let us know how it goes.
          Regards,
          Belinda

          1. May 07, 2007

            Bettina Zucker says:

            Hello Belinda, now it works\! I like it\! :D   Bettina

            Hello Belinda,

            now it works! I like it!

             

            Bettina

  5. Apr 26, 2007

    Mark Chaimungkalanont says:

    Brock & Belinda, This is indeed well neat! Are there any particular plugin poin...

    Brock & Belinda,

    This is indeed well neat! Are there any particular plugin points you need to enable this for Bamboo?

    Cheers,

    Mark C

    1. Apr 28, 2007

      Brock Janiczak says:

      Mark, The only plugin point that we are really missing is the component/spring o...

      Mark,
      The only plugin point that we are really missing is the component/spring one. The plugin needs some sort of early startup hook and the component manager was the logical choice as it loads all components on startup. It would be possible to have it startup as soon as the log4j system does, but this would require users to manually update their log4j.properties file. It might be possible to use one of the existing plugin points, but i think they are all lazily created and might be created more than once.

      It would also have been nice if there were a way to add new servlets, but this is not a critical requirements. You can always use an XWork action instead.

      Thanks,
      Brock

  6. May 23, 2007

    Henri Yandell says:

    I get a broken image in the top, I guess it's not picking up the look and feel f...

    I get a broken image in the top, I guess it's not picking up the look and feel from JIRA itself?

  7. Oct 09, 2007

    Martin Augustsson says:

    It seems that the version 0.9.2 does not exist for Confluence. When I install it...

    It seems that the version 0.9.2 does not exist for Confluence.

    When I install it with plugin repository it says version 0.9.1, and when I try upgrading it says the latest version 0.9.2 does not exist.

    I also tried upload it with the same result version 0.9.1.

    Anyone had same experience?

    1. May 20

      Ellen Daleng says:

      Yes, mee too\!  I only get version 0.91 although it expects to see 0.92

      Yes, mee too!  I only get version 0.91 although it expects to see 0.92