changeset 47:bf01db7f1017

add FAQ entry about OpenBSD's syslog
author David Demelier <markand@malikania.fr>
date Thu, 19 Jan 2023 08:26:41 +0100
parents f533edb4d9d8
children 97430bd3c02b
files faq.md
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/faq.md	Thu Jan 19 08:17:58 2023 +0100
+++ b/faq.md	Thu Jan 19 08:26:41 2023 +0100
@@ -10,6 +10,22 @@
 
 Yes.
 
+I don't see info messages in syslog on OpenBSD
+----------------------------------------------
+
+OpenBSD uses *notice* level of message information in its default
+[syslog.conf](http://man.openbsd.org/syslog.conf) which has a higher priority
+than *info*. Therefore, you need to adjust the syslog configuration file to
+enable *info* level.
+
+If you want to simply change notice to info, change */etc/syslog.conf* like
+this:
+
+```
+-*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none	/var/log/messages
++*.info;auth,authpriv,cron,ftp,kern,lpr,mail,user.none	/var/log/messages
+```
+
 Why plugins are not loaded per server?
 --------------------------------------