How to Adjust the Log Level of the FSAA_Applet_Server Logs
Symptoms
-
The
FSAA_Applet_Serverlogs are growing excessively. -
The log that it is written to is located at the following path:
\%SAINSTALLDIR%\FSAA\FSAA_Applet_Server_<SERVER_NAME>_9492_YYMMDDHHMISSMSX.log
Example:
E:\Program Files (x86)\STEALTHbits\StealthAUDIT\FSAA\FSAA_Applet_Server_<SERVER_NAME>_9492_250227095535674.log
Cause
The FSAA Applet server log level settings default to Debug, which can lead to rapid log growth in certain environments.
Resolution
-
Locate the
NLog.configfile to adjust the logging level:- For proxy servers installed as a service, the file is located in:
C:\Program Files (x86)\STEALTHbits\StealthAUDIT\FSAA\NLog.config
- For automatic deployments, the file is located on the application server in:
StealthAUDIT\PrivateAssemblies\FILESYSTEMACCESS\Applet
- For proxy servers installed as a service, the file is located in:
-
Open the
NLog.configfile using Notepad++ or a similar text/code editor. -
Edit the logging level configuration to reduce log growth:
- Locate the logger settings in the
NLog.configfile. - Set the
minlevelattribute to one of the following levels based on your needs:Error– Recommended for minimal logging.Info– Provides informational logs.Warn– Captures warnings and errors.
- IMPORTANT: A level lower than
Erroris not recommended.
Example logger configuration:
<rules>
<logger name="*FSAA*" minlevel="Error" writeTo="ServerFile" />
<logger name="*Kestrel*" minlevel="Info" writeTo="ServerFile" />
<logger name="*HttpsConnectionMiddleware*" minlevel="Debug" writeTo="ServerFile" />
<logger name="*" minlevel="Warn" writeTo="ServerFile" />
</rules> - Locate the logger settings in the
-
Save the changes to the
NLog.configfile. -
Restart the FSAA Applet Server or Proxy Host to apply the changes.