switching to logger endpoing