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

Dev - disable lat long logging

Open BasvanH opened this issue 10 years ago • 3 comments

Expected Behavior

I want to disable the 'lat' 'long' logging in the dev build.

Actual Behavior

{'distance_unit': '', 'distance': '', 'current_position': (52.061011021257656, 4.2319219650586595), 'last_position': (52.06107408529108, 4.231919556713865)}

Steps to Reproduce

Run the dev build.

Other Information

OS: CentOS 7 Git Commit: 350148e8443e35a6f5b74169b7ac5fd26815fe7b Python Version: Python 2.7.5

BasvanH avatar Aug 11 '16 08:08 BasvanH

#3484 is the same issue

FranWatcher avatar Aug 11 '16 09:08 FranWatcher

In colored_logging_handler.py you can add:

if event == 'position_update':
    return

under

# Replace message if necessary
if event == 'catchable_pokemon':
    message = 'Something rustles nearby!'

And it'll stop updating with that message.

relomy avatar Aug 11 '16 13:08 relomy

#3484

k4n30 avatar Aug 11 '16 14:08 k4n30