added log_init assertion