The WPA documentation provides min. agent debug file size 1 MB, but min. size is 5 MB.
This was changed in WPA4, because file rotation is "expensive", esp. on windows and might not work properly on small sizes. This should be mentioned in release notes as changes between WPA3 and WPA4.
Would be good to noticed in "OpenAM Web Policy Agent User's Guide" that
com.sun.identity.agents.config.debug.file.size can be set as -1 and this enable log rotation once in 24 hours. Works only for local confing (agent.conf) and does not work from AM Console
For more info see