Hi thanks for the reply.
<log-listener class="org.jpos.util.ProtectedLogListener">
<property name="protect" value="2 14 35 45 37" />
<property name="wipe" value="52 55 120" />
</log-listener>
and it doesnt output ndi the console unless i change it to
SimpleLogListener.
SimpleConfiguration conf = new SimpleConfiguration();
conf.put("", "modules/examples/validator/logger.xml");
ProtectedLogListener protectedLog = new
ProtectedLogListener();
protectedLog.setConfiguration(conf);
// logger.addListener(protectedLog);
logger.addListener(new SimpleLogListener(System.out));
GenericPackager p = new GenericPackager("modules/
examples/validator/subfield/custombase1.xml");
channel = new VAPChannel(host, 8000, p);
mux = new ISOMUX(channel);
((LogSource) channel).setLogger(logger, "channel");
mux.setLogger(logger, "mux");
mux.setISORequestListener(this);
Thread t = new Thread(mux);
t.start();
return new ISOChannelPanel(channel, host + ":8000");