ISO8601 compatible timestamps in log output
This fixes #699. **Warning:** this change breaks with backward compatibility, e.g. for log parsing tool chains.
This commit is contained in:
parent
8270ae6638
commit
4e858f5e49
2 changed files with 22 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public class RouteServer extends Thread implements Comparable<RouteServer> {
|
|||
if (e != null) e.terminate();
|
||||
}
|
||||
|
||||
private static DateFormat tsFormat = new SimpleDateFormat("dd.MM.yy HH:mm", new Locale("en", "US"));
|
||||
private static DateFormat tsFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSXXX", new Locale("en", "US"));
|
||||
|
||||
private static String formattedTimeStamp(long t) {
|
||||
synchronized (tsFormat) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue