add log for server