SmartFace Station server logging
SmartFace Station server doesn’t log by default. If you want to start logging and store log files, follow these steps:
⚠️ It is possible to direct both stderr and stdout to the same path, but due to a limitation of nssm, you must provide the exact same string in both the
AppStdout
and AppStderr
registry values.To start logging
In PowerShell run the command:
$ cd 'C:\Program Files (x86)\Smartface Station\vendor\' # <- change to your actual destination folder
$ .\nssm.exe set SFStation AppStdout C:\sfstation-service.log
$ .\nssm.exe set SFStation AppStderr C:\sfstation-service.log
$ net stop SFStation
$ net start SFStation
To stop logging
In PowerShell run the command:
$ cd 'C:\Program Files (x86)\Smartface Station\vendor\' # <- change to your actual destination folder
$ .\nssm.exe reset SFStation AppStdout
$ .\nssm.exe reset SFStation AppStderr
$ net stop SFStation
$ net start SFStation