added log for boolean