diff --git a/src/guacenc/display.c b/src/guacenc/display.c index 24f62d0d..e0dec033 100644 --- a/src/guacenc/display.c +++ b/src/guacenc/display.c @@ -34,7 +34,7 @@ int guacenc_display_sync(guacenc_display* display, guac_timestamp timestamp) { /* Verify timestamp is not decreasing */ if (timestamp < display->last_sync) { - guacenc_log(GUAC_LOG_DEBUG, "Decreasing sync timestamp"); + guacenc_log(GUAC_LOG_WARNING, "Decreasing sync timestamp"); return 1; } @@ -52,7 +52,7 @@ guacenc_layer* guacenc_display_get_layer(guacenc_display* display, /* Do not lookup / allocate if index is invalid */ if (index < 0 || index > GUACENC_DISPLAY_MAX_LAYERS) { - guacenc_log(GUAC_LOG_DEBUG, "Layer index out of bounds: %i", index); + guacenc_log(GUAC_LOG_WARNING, "Layer index out of bounds: %i", index); return NULL; } @@ -63,7 +63,7 @@ guacenc_layer* guacenc_display_get_layer(guacenc_display* display, /* Attempt to allocate layer */ layer = guacenc_layer_alloc(); if (layer == NULL) { - guacenc_log(GUAC_LOG_DEBUG, "Layer allocation failed"); + guacenc_log(GUAC_LOG_WARNING, "Layer allocation failed"); return NULL; } @@ -81,7 +81,7 @@ int guacenc_display_free_layer(guacenc_display* display, /* Do not lookup / allocate if index is invalid */ if (index < 0 || index > GUACENC_DISPLAY_MAX_LAYERS) { - guacenc_log(GUAC_LOG_DEBUG, "Layer index out of bounds: %i", index); + guacenc_log(GUAC_LOG_WARNING, "Layer index out of bounds: %i", index); return 1; } @@ -103,7 +103,7 @@ guacenc_buffer* guacenc_display_get_buffer(guacenc_display* display, /* Do not lookup / allocate if index is invalid */ if (internal_index < 0 || internal_index > GUACENC_DISPLAY_MAX_BUFFERS) { - guacenc_log(GUAC_LOG_DEBUG, "Buffer index out of bounds: %i", index); + guacenc_log(GUAC_LOG_WARNING, "Buffer index out of bounds: %i", index); return NULL; } @@ -114,7 +114,7 @@ guacenc_buffer* guacenc_display_get_buffer(guacenc_display* display, /* Attempt to allocate buffer */ buffer = guacenc_buffer_alloc(); if (buffer == NULL) { - guacenc_log(GUAC_LOG_DEBUG, "Buffer allocation failed"); + guacenc_log(GUAC_LOG_WARNING, "Buffer allocation failed"); return NULL; } @@ -135,7 +135,7 @@ int guacenc_display_free_buffer(guacenc_display* display, /* Do not lookup / allocate if index is invalid */ if (internal_index < 0 || internal_index > GUACENC_DISPLAY_MAX_BUFFERS) { - guacenc_log(GUAC_LOG_DEBUG, "Buffer index out of bounds: %i", index); + guacenc_log(GUAC_LOG_WARNING, "Buffer index out of bounds: %i", index); return 1; } diff --git a/src/guacenc/instruction-blob.c b/src/guacenc/instruction-blob.c index f608e036..67b4fbb2 100644 --- a/src/guacenc/instruction-blob.c +++ b/src/guacenc/instruction-blob.c @@ -33,7 +33,7 @@ int guacenc_handle_blob(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 2) { - guacenc_log(GUAC_LOG_DEBUG, "\"blob\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"blob\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-cfill.c b/src/guacenc/instruction-cfill.c index cda8778e..139df94d 100644 --- a/src/guacenc/instruction-cfill.c +++ b/src/guacenc/instruction-cfill.c @@ -32,7 +32,7 @@ int guacenc_handle_cfill(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 6) { - guacenc_log(GUAC_LOG_DEBUG, "\"cfill\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"cfill\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-copy.c b/src/guacenc/instruction-copy.c index 5dbfcb1d..aada48c2 100644 --- a/src/guacenc/instruction-copy.c +++ b/src/guacenc/instruction-copy.c @@ -32,7 +32,7 @@ int guacenc_handle_copy(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 9) { - guacenc_log(GUAC_LOG_DEBUG, "\"copy\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"copy\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-cursor.c b/src/guacenc/instruction-cursor.c index bccbacb3..0cd25d75 100644 --- a/src/guacenc/instruction-cursor.c +++ b/src/guacenc/instruction-cursor.c @@ -32,7 +32,7 @@ int guacenc_handle_cursor(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 7) { - guacenc_log(GUAC_LOG_DEBUG, "\"cursor\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"cursor\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-dispose.c b/src/guacenc/instruction-dispose.c index fef6f363..d6204905 100644 --- a/src/guacenc/instruction-dispose.c +++ b/src/guacenc/instruction-dispose.c @@ -32,7 +32,7 @@ int guacenc_handle_dispose(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 1) { - guacenc_log(GUAC_LOG_DEBUG, "\"dispose\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"dispose\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-end.c b/src/guacenc/instruction-end.c index 3e300e8b..fbc9e284 100644 --- a/src/guacenc/instruction-end.c +++ b/src/guacenc/instruction-end.c @@ -32,7 +32,7 @@ int guacenc_handle_end(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 1) { - guacenc_log(GUAC_LOG_DEBUG, "\"end\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"end\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-img.c b/src/guacenc/instruction-img.c index d67fc402..bbd0c33f 100644 --- a/src/guacenc/instruction-img.c +++ b/src/guacenc/instruction-img.c @@ -32,7 +32,7 @@ int guacenc_handle_img(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 6) { - guacenc_log(GUAC_LOG_DEBUG, "\"img\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"img\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-move.c b/src/guacenc/instruction-move.c index f929ee83..6123e344 100644 --- a/src/guacenc/instruction-move.c +++ b/src/guacenc/instruction-move.c @@ -32,7 +32,7 @@ int guacenc_handle_move(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 5) { - guacenc_log(GUAC_LOG_DEBUG, "\"move\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"move\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-rect.c b/src/guacenc/instruction-rect.c index 2e3caa00..94fea8f3 100644 --- a/src/guacenc/instruction-rect.c +++ b/src/guacenc/instruction-rect.c @@ -34,7 +34,7 @@ int guacenc_handle_rect(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 5) { - guacenc_log(GUAC_LOG_DEBUG, "\"rect\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"rect\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-shade.c b/src/guacenc/instruction-shade.c index 414eafbc..53826231 100644 --- a/src/guacenc/instruction-shade.c +++ b/src/guacenc/instruction-shade.c @@ -32,7 +32,7 @@ int guacenc_handle_shade(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 2) { - guacenc_log(GUAC_LOG_DEBUG, "\"shade\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"shade\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-size.c b/src/guacenc/instruction-size.c index c650c218..f173d33f 100644 --- a/src/guacenc/instruction-size.c +++ b/src/guacenc/instruction-size.c @@ -32,7 +32,7 @@ int guacenc_handle_size(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 3) { - guacenc_log(GUAC_LOG_DEBUG, "\"size\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"size\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-sync.c b/src/guacenc/instruction-sync.c index 64255100..a2e40389 100644 --- a/src/guacenc/instruction-sync.c +++ b/src/guacenc/instruction-sync.c @@ -68,7 +68,7 @@ int guacenc_handle_sync(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 1) { - guacenc_log(GUAC_LOG_DEBUG, "\"sync\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"sync\" instruction incomplete"); return 1; } diff --git a/src/guacenc/instruction-transfer.c b/src/guacenc/instruction-transfer.c index f95a2a8f..3643404f 100644 --- a/src/guacenc/instruction-transfer.c +++ b/src/guacenc/instruction-transfer.c @@ -32,7 +32,7 @@ int guacenc_handle_transfer(guacenc_display* display, int argc, char** argv) { /* Verify argument count */ if (argc < 9) { - guacenc_log(GUAC_LOG_DEBUG, "\"transform\" instruction incomplete"); + guacenc_log(GUAC_LOG_WARNING, "\"transform\" instruction incomplete"); return 1; }