Create Strapi Access log for fail2ban

pm2:

-l --log [path]              specify filepath to output both out and error logs
-o --output <path>           specify out log file
-e --error <path>            specify error log file

Without pm2 you can also pipe your stdout/stderr

node-command 2>&1 >> [/dev/null | your logfile]