This is from a previous PR that fell out due to extensive rebasing. The idea is to add the work's name to several logs and change the below log levels. By doing these changes it makes it easier to run logging level SUCCESS to see that the script is working without all of the INFO logs.
The log output with names will include the username following the threat number before the colon.
Line 116: Loading image goes from info to success
Line 125: Attempting to place from info to warning
Line 175: Succeeded placing pixel from info to success
Line 448: Bad credentials form info to critical
These lines are probably way off following all the PRs so I will create a PR based on this once main is functioning.
This is from a previous PR that fell out due to extensive rebasing. The idea is to add the work's name to several logs and change the below log levels. By doing these changes it makes it easier to run logging level SUCCESS to see that the script is working without all of the INFO logs.
The log output with names will include the username following the threat number before the colon.
YYYY-MM-DD HH:MM:SS.mmm | SUCCESS | main:set_pixel_and_check_ratelimit:176 - Thread #4 - WORKNAME: Succeeded placing pixel
Changed log level around the following lines:
Line 116: Loading image goes from info to success Line 125: Attempting to place from info to warning Line 175: Succeeded placing pixel from info to success Line 448: Bad credentials form info to critical
These lines are probably way off following all the PRs so I will create a PR based on this once main is functioning.