Fixed server logging flow