Splitting up log functions