开发者

SimpleSocketServer

I am using logback's SimpleSocketServer class as a daemon to log events. If one process is logging to the the daemon(SimpleSocketServer) al开发者_Python百科l is fine, however if two processes begin to log to the daemon at the same time then logging events are either skipped or never received. Has anyone ever dealt with logback and a similar problem? Thanks.


Can this be a logback bug? If you think it is, please enter a bug report.


Their SocketNode class makes the common mistake of doing I/O or DNS operations in its constructor, which holds up the accept loop that creates it. All that should be deferred to its run() method.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜