aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/Main.java')
-rw-r--r--src/org/traccar/Main.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/Main.java b/src/org/traccar/Main.java
index 992bfd8de..73b18c139 100644
--- a/src/org/traccar/Main.java
+++ b/src/org/traccar/Main.java
@@ -115,7 +115,7 @@ public final class Main {
try {
Context.getDataManager().clearHistory();
} catch (SQLException error) {
- LOGGER.warn(null, error);
+ LOGGER.warn("Clear history error", error);
}
}
}, 0, CLEAN_PERIOD);
@@ -132,7 +132,7 @@ public final class Main {
}
});
} catch (Exception e) {
- LOGGER.error(null, e);
+ LOGGER.error("Main method error", e);
throw new RuntimeException(e);
}
}