summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Requests/LogRequest.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-08-18 15:58:17 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-08-18 15:58:17 +0200
commitdb5ad2e09a6b38e841463dbe7eb076492b62c948 (patch)
tree5907f6416e35cbd25432a5f1f6dc9664d36aa73c /src/Daemon/Requests/LogRequest.cpp
parent5da7b0847bac2a5abec95b9ac1701b74baae8964 (diff)
downloadmad-db5ad2e09a6b38e841463dbe7eb076492b62c948.tar
mad-db5ad2e09a6b38e841463dbe7eb076492b62c948.zip
Mad funktioniert jetzt unter Windows
Diffstat (limited to 'src/Daemon/Requests/LogRequest.cpp')
-rw-r--r--src/Daemon/Requests/LogRequest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Daemon/Requests/LogRequest.cpp b/src/Daemon/Requests/LogRequest.cpp
index f1469ca..2d12fc8 100644
--- a/src/Daemon/Requests/LogRequest.cpp
+++ b/src/Daemon/Requests/LogRequest.cpp
@@ -19,6 +19,8 @@
#include "LogRequest.h"
+#include <boost/date_time/posix_time/posix_time.hpp>
+
namespace Mad {
namespace Daemon {
namespace Requests {
@@ -30,7 +32,7 @@ void LogRequest::sendRequest() {
packet.set("category", category);
packet.set("level", level);
- packet.set("timestamp", messageTimestamp);
+ packet.set("timestamp", boost::posix_time::to_iso_string(messageTimestamp));
packet.set("message", message);
sendPacket(packet);