Add log rotation to Duo Authentication for Windows Logon

We have recently ran into machines that have Duo Auth logs in the 10+MB size range in C:\programdata\Duo Security\duo.log. this appears to be causing delays in the apps performance.
I can push reg keys to enable log rotation, but the MSI supports some parameters to enforce this from the get go.
the params are:
LOGFILE_MAXCOUNT and LOGFILE_MAXSIZEMB
so to enforce 3 total logs at 1MB each you would add:
LOGFILE_MAXCOUNT=#3 LOGFILE_MAXSIZEMB=#1
here are the full list of MSI parameters
anyhoo. it would be baller if we could add this to the deployment script

#ImmyRocks #I♥Dimitri

lol @Ryan_Ybarra

I’d rather add it to the maintenance task, is there a registry entry for this? Reason being that if you modify the install script, that doesn’t help you change the setting after it is already installed–so generally I prefer the config task to modify settings like this because you can have your cake and eat it too.

I’m traveling for a few days so sorry in advance if I don’t get back right away.

Hey @DimitriRodis !
Yes, there are reg keys for it as well. and good thinking on that!
here are the settings for the reg keys
Enjoy your holidays, and stay safe out there.