When updating your inventory beacon to version 18.7.x (2022 R1.7) you may have noticed that the BeaconEngine.log files stopped rotating daily. This is due to a configuration attribute missing in some of the default configuration files. As a workaround, you can manually add settings that enable rotating again.
C:\ProgramData\Flexera Software\Compliance\Logging\BeaconEngine.config
At the top of the file, there will be a section that looks like this:
<target xsi:type="File" name="file" maxArchiveFiles="1000" archiveNumbering="DateAndSequence" filename="${gdc:item=ComplianceLoggingPath:whenEmpty=${baseDir}}/BeaconEngine/BeaconEngine.log" archiveDateFormat="yyyy-MM-dd" layout="${date:format=yyyy-MM-dd HH\:mm\:ss,fff} [${logger:padding=-22:fixedLength=true}|${mdlc:threadId:padding=8}] [${level:padding=-5:fixedLength=true:uppercase=true}] ${message:exceptionSeparator=\r\n:withException=true}" />
<target xsi:type="File" name="file" maxArchiveFiles="1000" archiveEvery="Day" archiveNumbering="DateAndSequence" filename="${gdc:item=ComplianceLoggingPath:whenEmpty=${baseDir}}/BeaconEngine/BeaconEngine.log" archiveDateFormat="yyyy-MM-dd" layout="${date:format=yyyy-MM-dd HH\:mm\:ss,fff} [${logger:padding=-22:fixedLength=true}|${mdlc:threadId:padding=8}] [${level:padding=-5:fixedLength=true:uppercase=true}] ${message:exceptionSeparator=\r\n:withException=true}" />
After adding archiveEvery="Day" to the BeaconEngine.config file you should notice that your BeaconEngine.log files will now begin to rotate on a daily basis again.
This issue has been fixed in the following FlexNet Manager Suite releases: 2022 R2.5 / May 2023 (Cloud), 2023 R1 (On Premises)
Affected components: Inventory Beacon
Master issue ID: IOK-1030675
Also known as: ITAM-1280
Sep 09, 2024 02:27 PM