Add host flag and logging to srv