The easiest way to record data is by using Studio's [record module](https://help.polysync.io/releases/2.0.8//articles/studio-record/). Custom nodes cannot automatically record and replay data. They must use PolySync APIs to manage logfile data, for example the PolySync-provided nodes. PolySync-provided nodes each implement file reading and writing routines using the PolySync [Logfile API](http://docs.polysync.io/#logfile). The nodes also need to listen for the `ps_rnr_msg`, which uses the [Record & Replay API](http://docs.polysync.io/#record-and-replay) to instruct nodes regarding what files they should open, and when to start/stop recording and replaying data. Applications like Studio's replay module implement the Record & Replay API in instructing which directory nodes should record data to, and when to start writing data to the disk.