added log for redirection in type module