summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefiservice.cc16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/eyefiservice.cc b/src/eyefiservice.cc
index f8d5f31..93bbcca 100644
--- a/src/eyefiservice.cc
+++ b/src/eyefiservice.cc
@@ -42,7 +42,5 @@ int eyefiService::StartSession(
struct rns__StartSessionResponse &r ) try {
-#ifndef NDEBUG
- syslog(LOG_DEBUG,
+ syslog(LOG_INFO,
"StartSession request from %s with cnonce=%s, transfermode=%d, transfermodetimestamp=%ld",
macaddress.c_str(), cnonce.c_str(), transfermode, transfermodetimestamp );
-#endif
eyekinfig_t eyekinfig(macaddress);
@@ -75,4 +73,3 @@ int eyefiService::GetPhotoStatus(
struct rns__GetPhotoStatusResponse &r ) try {
-#ifndef NDEBUG
- syslog(LOG_DEBUG,
+ syslog(LOG_INFO,
"GetPhotoStatus request from %s with credential=%s, filename=%s, filesize=%ld, filesignature=%s, flags=%d; session nonce=%s",
@@ -80,3 +77,2 @@ int eyefiService::GetPhotoStatus(
session_nonce.hex().c_str() );
-#endif
@@ -97,7 +93,5 @@ int eyefiService::MarkLastPhotoInRoll(
struct rns__MarkLastPhotoInRollResponse&/* r */ ) try {
-#ifndef NDEBUG
- syslog(LOG_DEBUG,
+ syslog(LOG_INFO,
"MarkLastPhotoInRoll request from %s with mergedelta=%d",
macaddress.c_str(), mergedelta );
-#endif
std::string cmd = eyekinfig_t(macaddress).get_on_mark_last_photo_in_roll();
@@ -122,4 +116,3 @@ int eyefiService::UploadPhoto(
struct rns__UploadPhotoResponse& r ) try {
-#ifndef NDEBUG
- syslog(LOG_DEBUG,
+ syslog(LOG_INFO,
"UploadPhoto request from %s with fileid=%d, filename=%s, filesize=%ld,"
@@ -128,3 +121,2 @@ int eyefiService::UploadPhoto(
filesignature.c_str(), encryption.c_str(), flags );
-#endif
std::string::size_type fnl=filename.length();