Hi!
Are there any known issues with the logging functionalty of privacyidea?
I have privacyIDEA 3.9 running in DEBUG-Mode and it seems to me, pi is logging randomly in all the log files, see:
-rw-r--r-- 1 privacyidea privacyidea 476600 Dec 8 13:47 privacyidea.log
-rw-r--r-- 1 privacyidea privacyidea 2677886 Dec 8 14:03 privacyidea.log.1
-rw-r--r-- 1 privacyidea privacyidea 7964383 Dec 8 13:48 privacyidea.log.2
-rw-r--r-- 1 privacyidea privacyidea 6492662 Dec 7 11:51 privacyidea.log.3
-rw-r--r-- 1 privacyidea privacyidea 2483113 Dec 8 13:46 privacyidea.log.4
-rw-r--r-- 1 privacyidea privacyidea 4175565 Dec 8 13:47 privacyidea.log.5
Shouldn’t the expected behavior be that old logs are in privacyidea.log.x and recent ones are in privacyidea.log?
In pi.cfg, I have:
# PI_LOGFILE = '....'
PI_LOGLEVEL = 10
PI is running on Debian 12 in a venv with python 3.8.18 as user ‘privacyidea’, installed via pip.
To my knowledge Debian 12 ships Python 3.11.
Python 3.11 is not supported by privacyIDEA, yet.
I am not sure, if this is the reason. You could actually look into the file entries.
Check for ntp?
Check the logic of you setup. Some redundt file system - who writes these files?