1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Logging: uses writev instead of in-buffer magic

This commit is contained in:
Maria Matejka
2024-01-28 21:42:39 +01:00
parent 0e1bfdd9e0
commit 86ba37d8f1
5 changed files with 150 additions and 61 deletions

View File

@@ -66,7 +66,7 @@ log_file:
this_log->filename = $2;
}
| SYSLOG syslog_name { this_log->rf = NULL; new_config->syslog_name = $2; }
| STDERR { this_log->rf = &rf_stderr; }
| STDERR { this_log->rf = &rf_stderr; this_log->terminal_flag = 1; }
;
log_mask: