Browse Source

rmtp-services: Don't display warning for invalid file ver.

The invalid format version warning for service files is an unnecessary
warning which isn't necessary to display because it'll automatically
fall back to the distributed version over the cached remote version.
jp9000 8 years ago
parent
commit
6b66630198
1 changed files with 3 additions and 3 deletions
  1. 3 3
      plugins/rtmp-services/rtmp-common.c

+ 3 - 3
plugins/rtmp-services/rtmp-common.c

@@ -185,9 +185,9 @@ static json_t *open_json_file(const char *file)
 	format_ver = get_int_val(root, "format_version");
 
 	if (format_ver != RTMP_SERVICES_FORMAT_VERSION) {
-		blog(LOG_WARNING, "rtmp-common.c: [open_json_file] "
-		                  "Wrong format version (%d), expected %d",
-				  format_ver, RTMP_SERVICES_FORMAT_VERSION);
+		blog(LOG_DEBUG, "rtmp-common.c: [open_json_file] "
+		                "Wrong format version (%d), expected %d",
+		                format_ver, RTMP_SERVICES_FORMAT_VERSION);
 		json_decref(root);
 		return NULL;
 	}