Logging OK, need to redirect in case of error