move log subscrition to a log controller