Improved server logging