In handle_loglevel_header(), consistently use $c and remove $content.