I use GoldenGate 21c MA. I set up old trail file purging through GUI (the admin web page): Configuration -> Tasks -> Purge Trails. What are the pros and cons between using GUI and setting parameter PURGEOLDEXTRACTS in the Manager parameter file?
Secondly, I can see my old trail files are purged as intended. But none of the log files in any directory show this action. (Particularly I checked $deployment_home/var/log and $service_manager_home/var/log.) Instead, I see in $deployment_home/var/lib/conf/adminsrvr-resources.dat these lines (I break the following into 2 lines for easier reading):
{"$schema":"ogg:message","title":"Purged old extract file
'/ogg/ogg_ma_dbcp13/var/lib/data/rt000000624'. Purge rule: Applying
UseCheckPoints purge rule: Oldest Chkpt Seqno 628 >
624.","code":"OGG-00957","severity":"INFO","issued":"2022-02-17T19:10:25Z","type":"http://docs.oracle.com/goldengate/c2130/gg-winux/GMESG/oggus.htm#OGG-00957"},
{"$schema":"ogg:message","title":"Purged old extract file
'/ogg/ogg_ma_dbcp13/var/lib/data/rt000000625'. Purge rule: Applying
UseCheckPoints purge rule: Oldest Chkpt Seqno 628 >
625.","code":"OGG-00957","severity":"INFO","issued":"2022-02-17T19:10:25Z","type":"http://docs.oracle.com/goldengate/c2130/gg-winux/GMESG/oggus.htm#OGG-00957"},
...
{"$schema":"ogg:message","title":"Purged old extract file
'/ogg/ogg_ma_dbcp13/var/lib/data/rt000000624'. Purge rule: Applying
UseCheckPoints purge rule: Oldest Chkpt Seqno 628 >
624.","code":"OGG-00957","severity":"INFO","issued":"2022-02-17T19:10:25Z","type":"http://docs.oracle.com/goldengate/c2130/gg-winux/GMESG/oggus.htm#OGG-00957"},
{"$schema":"ogg:message","title":"Purged old extract file
'/ogg/ogg_ma_dbcp13/var/lib/data/rt000000625'. Purge rule: Applying
UseCheckPoints purge rule: Oldest Chkpt Seqno 628 >
625.","code":"OGG-00957","severity":"INFO","issued":"2022-02-17T19:10:25Z","type":"http://docs.oracle.com/goldengate/c2130/gg-winux/GMESG/oggus.htm#OGG-00957"},
...
They are the lines matching the trail file purging action. But why are they written here? Why not in any log file?
In Classical GoldenGate, there is the command "send mgr, getpurgeoldextracts" to check the purging status. In MA, there doesn't seem to be anything similar. Other than cd to the trail file directory and ls, is there any way to check this?