rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.12k stars 334 forks source link

fix log tracking for pm2 applications #290

Closed RyanPotat closed 1 year ago

RyanPotat commented 1 year ago

Description

Change log tracking when running with pm2, by changing the logging to stdout instead of stderr. Allows the INFO messages not to display as errors.

Could at least be a step towards an option in the run.py file to indicate docker/pm2 use for proper log tracking.

Fixes # (issue)

https://github.com/Unitech/pm2/issues/4817

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

I applied the changes and ran with pm2, and the channel point collection logs no longer were represented as errors.

I did not test the docker image.

Checklist:

2547techno commented 1 year ago

tested docker image, logs not effected 👍