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