This feature is automatically enabled when running a debug version of i3. The logfile will use 1% of your physical RAM size, but at max 25 MiB.