test case: redirect pm2.log