PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

[Suggestion] Config for logging file

Open seratkurtulus opened this issue 10 years ago • 3 comments

while true; do pkill -f pokecli eval "python pokecli.py --config configs/config.json >> logs/log.txt" & eval "python pokecli.py --config configs/config1.json >> logs/log1.txt" & sleep 1800 done

I'm using this bash script for restarting the bots every 30 minutes. It used to keep the logs in the separate files but i guess after the changes to the logging logic it doesn't do the same. I call my bash script with this command. "nohup ./run.sh >> logs/restart.txt &" it was logging the exceptions into "restart.txt" and other stuff into respective log files but not anymore. Everything goes into restart.txt right now.

Can we add a config option like "pathToLogFile: './logs/log.txt'" and keep the logs in there? It may work as now when this config is not specified or false.

seratkurtulus avatar Aug 08 '16 15:08 seratkurtulus

Please move your feature request/s to our feature hub - http://feathub.com/PokemonGoF/PokemonGo-Bot

Edit: Feathub may be turned off in favour of better GitHub tags, issue templates, and voting structures. Please feel free to continue using this issue (but don't delete the Feathub request just yet)

k4n30 avatar Aug 14 '16 03:08 k4n30

https://github.com/PokemonGoF/PokemonGo-Bot/issues/3843#issuecomment-239708680

k4n30 avatar Aug 15 '16 00:08 k4n30

#2729

k4n30 avatar Aug 16 '16 05:08 k4n30