int port;
};
+struct LogConfig {
+ enum { LOG_TYPE_FILE, LOG_TYPE_CONSOLE, LOG_TYPE_SYSLOG } type;
+ std::string filename;
+};
+
struct Config {
int num_servers;
std::vector<MarkPoolConfig> mark_pools;
std::vector<StreamConfig> streams;
std::vector<AcceptorConfig> acceptors;
+ std::vector<LogConfig> log_destinations;
std::string stats_file; // Empty means no stats file.
int stats_interval;