summaryrefslogtreecommitdiffstats
path: root/src/Core/RequestHandlers
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-29 22:37:25 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-29 22:37:25 +0200
commitd90eb49281efcf2db039fbaacccebd4acdc15f7f (patch)
treeed589a44f7b3190ef4bdc0a77047a51dd7dba9e6 /src/Core/RequestHandlers
parent2919e527e3e2c0bbdd35afe28c7da4b041ca25f1 (diff)
downloadmad-d90eb49281efcf2db039fbaacccebd4acdc15f7f.tar
mad-d90eb49281efcf2db039fbaacccebd4acdc15f7f.zip
Einige Fehler am RemoteLogger behoben
Diffstat (limited to 'src/Core/RequestHandlers')
-rw-r--r--src/Core/RequestHandlers/LogRequestHandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Core/RequestHandlers/LogRequestHandler.cpp b/src/Core/RequestHandlers/LogRequestHandler.cpp
index 1366710..5640159 100644
--- a/src/Core/RequestHandlers/LogRequestHandler.cpp
+++ b/src/Core/RequestHandlers/LogRequestHandler.cpp
@@ -19,6 +19,7 @@
#include "LogRequestHandler.h"
#include <Common/Logger.h>
+#include <Common/RemoteLogger.h>
#include <Net/Connection.h>
#include <Net/Packets/ErrorPacket.h>
#include <Net/Packets/LogPacket.h>
@@ -39,7 +40,7 @@ void LogRequestHandler::handlePacket(Net::Connection *connection, const Net::Pac
// TODO Require authentication
Net::Packets::LogPacket logPacket(packet);
- Common::Logger::log(logPacket.getCategory(), logPacket.getLevel(), logPacket.getMessage().c_str());
+ Common::RemoteLogger::log(logPacket.getCategory(), logPacket.getLevel(), logPacket.getTimestamp(), logPacket.getMessage().c_str(), std::string());
connection->send(Net::Packet(Net::Packet::OK, packet.getRequestId()));