add log in the server