Streaming logs

From PsychoStats

Jump to: navigation, search

Streaming logs

Real-time log streaming is available in PsychoStats3.1. This way, logs are processed on-the-fly and the amount of CPU usage is reduced, since only a few lines per second are processed.


Configuration

The dedicated server must be configured to send logs to the machine PsychoStats is listening to. Add the following line in the config file:

logaddress_add xxx.xxx.xxx.xxx yzxyz

Where xxx.xxx.xxx.xxx is the IP address where PsychoStats is installed and yzxyz is the port stats.pl is listening to. Here is an example:

logaddress_add 127.0.0.1 27890

See Setting up a logsource to setup PsychoStats to listen to a stream.