Synapse constantly writes logs to disk | Razer Insider

Synapse constantly writes logs to disk

  • 11 September 2022
  • 5 replies
  • 537 views

Hi, I recently noticed that Synapse 3 (and Synapse 2 as well) constantly writes to disk saving logs in various files.

I found these paths for now:

ProgramData/Razer/GameManager/Logs
ProgramData/Razer/RazerCentral/Logs

ProgramData/Razer/Synapse/Logs (probably Synapse 2, but still annoying since I'm using both)

I did not find an option to disable logging, and would love to, since it's a CONSTANT write operation on my C drive that I do not want happening.

Apart from the constant writing, the issue is that these folders just keep growing. Older logs are not auto-deleted, they just keep piling up. I just reinstalled Windows about a week ago and we are already at about 250MB of logs file alone, insanity.

I would rather avoid having to fiddle with folder permissions/security/ownership to stop these logs.

Please just give an option in the general settings to disable this feature.

Thanks.

5 Replies

Nothing on this issue?
Userlevel 3
Greetings.
It is common to find applications that constantly write unnecessary data to log files, Synapse3 is certainly one of them.
I'm going to list files and folders that regularly generate an excessive amount of logs.
\\Razer\\Synapse3\\Log\\SynapseService.log
\\Razer\\Synapse3\\Log\\SynapseService_errors.log
\\Razer\\Synapse3\\Log\\Synapse3.Host.log
\\Razer\\Synapse3\\Log\\Mouse_005c_Mapping.log
\\Razer\\Synapse3\\Log\\Mouse_005c_Sensitivity.log
\\Razer\\Synapse3\\Log\\Mouse_005c_LightingBrightness.log
\\Razer\\Synapse3\\Service\\Bin\\Log\\RzLightingEngine.log
\\Razer\\Synapse3\\Service\\Bin\\Log\\RzLightingEngine.log_2
\\Razer\\GameManager\\Logs\\*
\\Razer\\Razer Central\\Logs\\*
\\AppData\\Local\\Razer\\Synapse3\\Log\\*

The list is long and I have spared no efforts to resolve the issue. But I wish it was possible to receive cleaner Synapse3 without too many Logs.

OBS: be careful if you don't trust the writing of some logs, synapse3 may fail at startup
Userlevel 3
thread loops

%ProgramData%\Razer\Razer Central\Logs
%ProgramData%\Razer\Synapse3\Log
%ProgramData%\Razer\Synapse3\Service\Log
%ProgramData%\Razer\Synapse3\Service\Bin\Log
%ProgramData%\Razer\Synapse3\Service\Bin\Devices\Mw\Log
%ProgramData%\Razer\Synapse3\Service\Lib\DetectManager\Log
%ProgramData%\Razer\Synapse3\Service\Lib\IoTDetectManager\Log
%ProgramData%\Razer\GameManager\Logs
%LocalAppData%\Razer\Synapse3\Log


Hundreds of MB of log files and no option to disable logging?

This batch will stop/start the app + services.

@echo off

set "RSFullPath=%programfiles(x86)%\Razer\Synapse3\WPFUI\Framework\Razer Synapse 3 Host\Razer Synapse 3.exe"
sc query "Razer Synapse Service" | findstr /irc:"[0-9] *RUNNING">nul && goto stoprs

echo Starting Razer Synapse
net start "Razer Synapse Service" >nul && start "" "%RSFullPath%"
if %errorlevel% gtr 0 sc query "Razer Synapse Service" | findstr /irc:"[0-9] *RUNNING">nul && start "" "%RSFullPath%"

if %errorlevel% equ 0 timeout /t 3 /nobreak>nul else pause
exit

:stoprs
echo Stopping Razer Synapse
taskkill /f /im "Razer Synapse 3.exe" /t >nul 2>&1
taskkill /f /im "Razer Central.exe" /t >nul 2>&1
sc query "RzActionSvc" | findstr /irc:"[0-9] *RUNNING">nul && net stop "RzActionSvc" /yes >nul
sc query "Razer Game Manager Service" | findstr /irc:"[0-9] *RUNNING">nul && net stop "Razer Game Manager Service" >nul

if %errorlevel% equ 0 timeout /t 3 /nobreak>nul else pause


 

%ProgramData%\Razer\Razer Central\Logs
%ProgramData%\Razer\Synapse3\Log
%ProgramData%\Razer\Synapse3\Service\Log
%ProgramData%\Razer\Synapse3\Service\Bin\Log
%ProgramData%\Razer\Synapse3\Service\Bin\Devices\Mw\Log
%ProgramData%\Razer\Synapse3\Service\Lib\DetectManager\Log
%ProgramData%\Razer\Synapse3\Service\Lib\IoTDetectManager\Log
%ProgramData%\Razer\GameManager\Logs
%LocalAppData%\Razer\Synapse3\Log


Hundreds of MB of log files and no option to disable logging?

This batch will stop/start the app + services.

@echo off

set "RSFullPath=%programfiles(x86)%\Razer\Synapse3\WPFUI\Framework\Razer Synapse 3 Host\Razer Synapse 3.exe"
sc query "Razer Synapse Service" | findstr /irc:"[0-9] *RUNNING">nul && goto stoprs

echo Starting Razer Synapse
net start "Razer Synapse Service" >nul && start "" "%RSFullPath%"
if %errorlevel% gtr 0 sc query "Razer Synapse Service" | findstr /irc:"[0-9] *RUNNING">nul && start "" "%RSFullPath%"

if %errorlevel% equ 0 timeout /t 3 /nobreak>nul else pause
exit

:stoprs
echo Stopping Razer Synapse
taskkill /f /im "Razer Synapse 3.exe" /t >nul 2>&1
taskkill /f /im "Razer Central.exe" /t >nul 2>&1
sc query "RzActionSvc" | findstr /irc:"[0-9] *RUNNING">nul && net stop "RzActionSvc" /yes >nul
sc query "Razer Game Manager Service" | findstr /irc:"[0-9] *RUNNING">nul && net stop "Razer Game Manager Service" >nul

if %errorlevel% equ 0 timeout /t 3 /nobreak>nul else pause


 

Thank you for this taskkill batch script.

I can monitor through the utility called “Voidtools Everything” when sorting files by Date Modified, found that Razer Synapse is updating a log every second!

Reply