Service Logs¶
FIRERPA does not write any logs by default. If you need to view relevant runtime logs, you can use two methods to make the service write logs to a file. If you installed via Magisk module, you may not be able to set a log file by directly adding a command line parameter; please refer to Service Configuration on how to configure logfile.
For users who start the service manually, you can also directly add the parameter --logfile=/data/local/tmp/server.log after the launch.sh command. Of course, using the logfile configuration is also an option.
sh /path/to/server/bin/launch.sh --logfile=/data/local/tmp/server.log
Under normal circumstances, we do not recommend enabling logging, because service logs are written in append mode. In extreme cases, it may fill up your device's storage, so you may need to write additional scripting logic to automatically clean logs to prevent the above issue.