Search code examples
javalog4jappender

There is an interface/GUI appender for log4j?


I want to show my logs in the GUI in a textfield, list, etc. (something like ImgBurn), but I not found a ready appender that do this. There are an appender to do this?

Currently I doing log to the console without any problems.


Solution

  • Take a look at Apache Chainsaw: this can use the Receiver concept from the recent Log4j builds to display events: http://logging.apache.org/chainsaw/index.html.

    If you are looking to do real-time text field display you may need to write your own Receiver class.