Re: Cannot open logfile in unbound(8)

2022-09-04 Thread lucic71
> This would usually suggest that the uid used by the daemon does not > have permission to access to the log file or directory containing it That's right, Stuart. I created the file as root and the user _unbound could not access the file. Thanks for the help!

Re: Cannot open logfile in unbound(8)

2022-08-31 Thread Stuart Henderson
On 2022-08-31, luci...@ctrl-c.club wrote: > Hi, > What is the proper way to use a logfile in unbound(8)? I tried adding > the following lines in /var/unbound/etc/unbound.conf: > # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ > > server: > use-syslog: no > logfile:

Re: Cannot open logfile in unbound(8)

2022-08-31 Thread Łukasz Moskała
W dniu 31.08.2022 o 12:39, luci...@ctrl-c.club pisze: Hi, What is the proper way to use a logfile in unbound(8)? I tried adding the following lines in /var/unbound/etc/unbound.conf: # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ server: use-syslog: no logfile:

Cannot open logfile in unbound(8)

2022-08-31 Thread lucic71
Hi, What is the proper way to use a logfile in unbound(8)? I tried adding the following lines in /var/unbound/etc/unbound.conf: # $OpenBSD: unbound.conf,v 1.21 2020/10/28 11:35:58 sthen Exp $ server: use-syslog: no logfile: log/unbound.log Then touched /var/unbound/log/unbound.log