// Configuration for io_module io_module = { path = []; name = "forwarder_module"; }; // Configuration for forwarder io_module forwarder = { n_threads = 1; connectors = { c0 = { /* local_address and local_port are optional */ local_address = "127.0.0.1"; local_port = 33436; remote_address = "127.0.0.1"; remote_port = 33436; } }; listeners = { l0 = { local_address = "127.0.0.1"; local_port = 33437; } }; }; // Logging log = { // Log level (INFO (0), WARNING (1), ERROR (2), FATAL (3)) minloglevel = 0; // Verbosity level for debug logs v= 2; // Log to stderr logtostderr = true; // Get fancy colored logs colorlogtostderr = true; // Log messages above this level also to stderr stderrthreshold = 2; // Set log prefix for each line log log_prefix = true; // Log dir log_dir = "/tmp"; // Log only specific modules. // Example: "membuf=2,rtc=3" vmodule = ""; // Max log size in MB max_log_size = 10; // Log rotation stop_logging_if_full_disk = true; };