]> granicus.if.org Git - ejabberd/commitdiff
Don't polute log with known content types
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 24 Feb 2017 17:57:24 +0000 (20:57 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 24 Feb 2017 17:57:24 +0000 (20:57 +0300)
src/mod_http_fileserver.erl

index 79eeed5ac32e0f4adfeec09b5de1228aeb52311d..27c4800f7372c517d2257e8db560c5f283d05ef5 100644 (file)
@@ -154,9 +154,9 @@ initialize(Host, Opts) ->
                                               end, L)
                                     end, []),
                      ?DEFAULT_CONTENT_TYPES),
-    ?INFO_MSG("known content types: ~s",
-             [str:join([[$*, K, " -> ", V] || {K, V} <- ContentTypes],
-                       <<", ">>)]),
+    ?DEBUG("known content types: ~s",
+          [str:join([[$*, K, " -> ", V] || {K, V} <- ContentTypes],
+                    <<", ">>)]),
     #state{host = Host,
           accesslog = AccessLog,
           accesslogfd = AccessLogFD,