remove $log directive