]> git.proxmox.com Git - proxmox-backup.git/commit
api: access: log to separate file, reduce syslog to errors
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Oct 2020 09:06:48 +0000 (11:06 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 16 Oct 2020 09:23:49 +0000 (11:23 +0200)
commitd39d095fa449ab03a5f6ed75bed15857a1f2afd2
treef43304c0cb902cd0e11385fba335b29f481e211b
parent86f3c2363cbc2a84dba2a9fadf7993f6ac3e28fd
api: access: log to separate file, reduce syslog to errors

for now log auth errors also to the syslog, on a protected (LAN
and/or firewalled) setup this should normally happen due to
missconfiguration, not tries to break in.

This reduces syslog noise *a lot*. A current full journal output from
the current boot here has 72066 lines, of which 71444 (>99% !!) are
"successful auth for user ..." messages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/api2/access.rs