Reduce verbosity of log when captcha_cmd is checked but not configured.
authorBadlop <badlop@process-one.net>
Mon, 12 Apr 2010 11:33:13 +0000 (13:33 +0200)
committerBadlop <badlop@process-one.net>
Wed, 28 Apr 2010 18:06:27 +0000 (20:06 +0200)
src/ejabberd_captcha.erl

index 95e7728f848c66162dea8a7841776805b52bcefd..ab3271b8071907835fee51754d12bd3b08748eb2 100644 (file)
@@ -328,7 +328,7 @@ get_prog_name() ->
        FileName when is_list(FileName) ->
            FileName;
        _ ->
-           ?CRITICAL_MSG("The option captcha_cmd is not configured, but some "
+           ?DEBUG("The option captcha_cmd is not configured, but some "
                          "module wants to use the CAPTCHA feature.", []),
            throw({error, option_not_configured_captcha_cmd})
     end.