Sam Newman's site, a Consultant at ThoughtWorks

Much kudos to Will Sargent over at “Terse Systems”: for pointing out an eclipse plugin called “Ganymede”:, which captures “Log4J(Log4J Project Homepage)”: messages inside eclipse itself.

_Updated 11:51am_: Well, from the screen shot and descriptions at Terse Systems, it looked good. However I have been completely unable to find ANY documentation on how to actually install and run the thing! The downloadable packages come with no readme files, the homepage is a directory listing, and the only readme to be found on the sourceforge site was useless. It might be the greatest project in the world but if no-one knows how to use it, whats the point?

8 Responses to “Ganymede – Log4J Logging inside eclipse”

  1. Will Sargent


    Unzip the ganymede stuff under /eclipse/plugins.

    Start up Eclipse.

    When you run Eclipse, go to Windows, Preferences. There’ll be a menu item there called Ganymede.
    Ganymede stupidly doesn’t come with any columns set up, so add them all.
    Save your settings.

    Go to Window, Show View, then Other…
    The Ganymede Log4J viewer is at the bottom, under Other. Click on that and then finally…

    Click on the “Start Log4J Server” button before you start any logging.

  2. Davy


    I followed the above instructions to setup the Log4J. When I try to start it, I got Unable to create part: Gnaymede Log4j View. Please advice.



  3. Sam Newman

    Sounds like a problem with Eclipse – which version are you using?
    I’m far from an expert with Ganymede in anycase – you might want to try talking to the developers directly

  4. pengster

    I have setup my Eclipse as suggested in this thread. I can see the Ganymede Log4j viewer in my Eclipse and I have turned on the server. But when my app performs logging, nothing shows in the viewer.

    What am I doing wrong? Maybe my appender isn’t setup correctly. Can somebody post their log4j.xml? Here is my appender…

  5. Sam Newman

    Yikes! Your appender vanished as I don’t allow html eta al. Anyway, here is mine with ‘[‘ and ‘]’ used instead of angle brackets:

    First, setup the socket appender:
    [appender name=”SocketAppender” class=””]
    [param name=”RemoteHost” value=”localhost”/]
    [param name=”Port” value=”4445″/]
    [param name=”LocationInfo” value=”true”/]

    Then make sure your appender is attached to the right categroy. To get all messages going to the socket appender, attach the SocketAppender to the root category like this:

    [appender-ref ref=”SocketAppender”/]

    Or to restrict it to a certain package:
    [category name=”org.apache”]
    [appender-ref ref=”SocketAppender”/]

    You might want to try attaching a normal console looger – this will at least make sure you are getting log messages at all.

  6. Thorbjørn Andersen

    I just got this to work, and it appears to work quite nicely.


    * Can I remove this from the Console tab view? A fast view is not good enough?
    * Is it possible at all to link to the source line? The information is clearly there 🙂


  7. Sam

    I’m not sure what you mean by a ‘fast’ view. As for linking to the source line, thats really down to the coders of the plugin – you might want to talk to them directly.

Comments are closed.

%d bloggers like this: