mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
pimd: Set default logfile to Quagga.log
Until such time a log file line is generated, default to using /var/log/quagga/Quagga.log Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
2e948c7813
commit
f28692a45c
@ -134,10 +134,12 @@ int main(int argc, char** argv, char** envp) {
|
||||
umask(0027);
|
||||
|
||||
progname = ((p = strrchr(argv[0], '/')) ? ++p : argv[0]);
|
||||
|
||||
|
||||
zlog_default = openzlog(progname, ZLOG_PIM, 0,
|
||||
LOG_CONS|LOG_NDELAY|LOG_PID, LOG_DAEMON);
|
||||
|
||||
zlog_set_file (NULL, "/var/log/quagga/Quagga.log",
|
||||
zlog_default->default_lvl);
|
||||
|
||||
/* this while just reads the options */
|
||||
while (1) {
|
||||
int opt;
|
||||
|
Loading…
Reference in New Issue
Block a user