]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
downgrade log message to debug and add more details
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Sep 2010 14:27:17 +0000 (09:27 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Thu, 9 Sep 2010 14:27:17 +0000 (09:27 -0500)
src/switch_core_file.c

index c995b229a636bbdc86e7c6946bfd24385b22ccaf..7d5df8882a3972665a7e3f4482ea502cd8556733 100644 (file)
@@ -173,7 +173,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
        }
 
        if (fh->samplerate && rate && fh->samplerate != rate) {
-               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Sample rate doesn't match\n");
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "File %s sample rate %d doesn't match requested rate %d\n", file_path, fh->samplerate, rate);
                if ((flags & SWITCH_FILE_FLAG_READ)) {
                        fh->samplerate = rate;
                }