Hello, I have some protocol filter and I need to print incoming and outgoing data. That's why I added org.apache.mina.filter.LoggingFilter after my protocol filter. It correctly prints data encoded by my protocol during send operation (with prefix and suffix for example). But when I receive data they printed without extra information because it was extracted by protocol.
And question is how to print completely incoming and outgoing data. At the moment I have one idea: extend LoggingFilter and overwrite method messageSend (just delegate call to next filter) and set it BEFORE my protocol and extend LoggingFilter and overwrite method messageReceived (just delegate call to next filter) and set it AFTER my protocol What do you think about it? ------------------------- Sergey Mamitko ISD, http://www.isd.dp.ua/index.html.en
