Modified loggin for server