java - How to run custom appender in separate thread -
i created own appender base of logback document chapter 4 (see writing own appender section).
whatever being logged @ info
level in application, appender gets invoked , post message http message servlet
running on other end.
these kind of logic makes application slow down. because appender runs on same thread application running. how make appender run in separate thread ?
since logback based on log4j, should able used asynchronous logging option. see here makes sure logging process runs in separate thread.
Comments
Post a Comment