commit 8f72663b2045c56f525e8997816e855ff1cd0832 Author: Karsten Loesing karsten.loesing@gmx.net Date: Fri Jul 27 09:16:42 2012 +0200
Include current system time in log messages. --- src/org/torproject/onionoo/Main.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/org/torproject/onionoo/Main.java b/src/org/torproject/onionoo/Main.java index fb11899..41af72c 100644 --- a/src/org/torproject/onionoo/Main.java +++ b/src/org/torproject/onionoo/Main.java @@ -3,6 +3,7 @@ package org.torproject.onionoo;
import java.io.File; +import java.util.Date;
/* Update search data and status data files. */ public class Main { @@ -53,7 +54,7 @@ public class Main { }
private static void printStatus(String message) { - System.out.println(message); + System.out.println(new Date() + ": " + message); } }