diff options
author | chriszero <zerov83@gmail.com> | 2015-01-13 20:56:08 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-01-13 20:56:08 +0100 |
commit | 6cd88fdcab8dd291c610a8a5a6a2f6499f6c6d3f (patch) | |
tree | 7f930ee6fee6ae4eb44435de5d6215fe3be4d80f /PlexHTTPRequestHandler.cpp | |
parent | d40d85f7ce39d5e8301173a7d21707dd8c3ab5cd (diff) | |
download | vdr-plugin-plex-6cd88fdcab8dd291c610a8a5a6a2f6499f6c6d3f.tar.gz vdr-plugin-plex-6cd88fdcab8dd291c610a8a5a6a2f6499f6c6d3f.tar.bz2 |
Added syslog messages
Diffstat (limited to 'PlexHTTPRequestHandler.cpp')
-rw-r--r-- | PlexHTTPRequestHandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/PlexHTTPRequestHandler.cpp b/PlexHTTPRequestHandler.cpp index 034a739..7fc3415 100644 --- a/PlexHTTPRequestHandler.cpp +++ b/PlexHTTPRequestHandler.cpp @@ -93,8 +93,7 @@ void ResourceRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& request response.setStatus(Poco::Net::HTTPResponse::HTTP_REASON_OK); - - std::cout << "Resources Response sent..." << std::endl; + dsyslog("[plex]Resources Response sent..."); } void PlayerRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& request, Poco::Net::HTTPServerResponse& response){ @@ -112,7 +111,7 @@ void PlayerRequestHandler::handleRequest(Poco::Net::HTTPServerRequest& request, std::ostream& ostr = response.send(); // Stream must not be empty! ostr << " "; response.setStatus(Poco::Net::HTTPResponse::HTTP_REASON_OK); - std::cout << "OPTION Reply send" << std::endl; + dsyslog("[plex]OPTION Reply send"); return; } |