X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand_server.cpp;h=d3721a867bbc6e6ecaaacec8b699774b9e51cd8b;hp=15a19a75552b449a01785bb9ac3a2732777c56c3;hb=a7170401dd90dc79cc7d7a808cfe18a06c7e983b;hpb=d184c64894e6c4f3adb9467078acfc9e7446664a diff --git a/src/command_server.cpp b/src/command_server.cpp index 15a19a7..d3721a8 100644 --- a/src/command_server.cpp +++ b/src/command_server.cpp @@ -26,10 +26,10 @@ #include #include #include -#include #include "command_server.hxx" #include "container.hxx" +#include "log.hxx" using namespace std; @@ -39,6 +39,8 @@ namespace libt2n /// handle a command including deserialization and answering void command_server::handle_packet(const std::string& packet, server_connection* conn) { + OBJLOGSTREAM(s,debug,"handling packet from connection " << conn->get_id()); + // deserialize packet istringstream ifs(packet); boost::archive::binary_iarchive ia(ifs);