I am logging messages via log 4 j logger and I want to somehow get this stream of data and display it in a JTextArea for display. Is there any easy way to do this?
thanks you
I am logging messages via log 4 j logger and I want to somehow get this stream of data and display it in a JTextArea for display. Is there any easy way to do this?
thanks you
Never tried it myself, but most straight-forward way would be to implement org.apache.log4j.Appender, so your implementation's constructor would accept instance of GUI object where you want to show log entries.
Check it out here for solution and suggestion as well jtextarea-as-listener-for-log4j-logger . I hope it's helpful.