[cooja] Removed some further printlns
This commit is contained in:
parent
f02266d67c
commit
903d0333d3
2 changed files with 2 additions and 3 deletions
|
@ -3152,7 +3152,7 @@ public class Cooja extends Observable {
|
|||
if (new File(logConfigFile).exists()) {
|
||||
DOMConfigurator.configure(logConfigFile);
|
||||
} else {
|
||||
System.err.println("Failed to open " + logConfigFile);
|
||||
logger.error("Failed to open " + logConfigFile);
|
||||
System.exit(1);
|
||||
}
|
||||
} else if (new File(LOG_CONFIG_FILE).exists()) {
|
||||
|
|
|
@ -165,8 +165,7 @@ public abstract class SerialUI extends Log implements SerialPort {
|
|||
writeString(command);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
System.err.println("could not send '" + command + "':");
|
||||
ex.printStackTrace();
|
||||
logger.error("could not send '" + command + "':", ex);
|
||||
JOptionPane.showMessageDialog(
|
||||
logTextPane,
|
||||
"Could not send '" + command + "':\n" + ex.getMessage(), "Error sending message",
|
||||
|
|
Loading…
Reference in a new issue