Enabled logging in non-JUnit modem tests.

This commit is contained in:
akwizgran
2012-12-06 13:36:10 +00:00
parent 51a4f2fd62
commit aec43d6de7
3 changed files with 10 additions and 0 deletions

View File

@@ -68,6 +68,8 @@ class ModemPlugin implements DuplexPlugin, Modem.Callback {
public boolean start() {
for(String portName : SerialPortList.getPortNames()) {
if(LOG.isLoggable(INFO))
LOG.info("Trying to initialise modem on " + portName);
modem = modemFactory.createModem(this, portName);
try {
modem.init();