Put logging in backend