-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing date/time from bot output #4800
Comments
what is the problem? |
Problem is how to remove " " from bot line outputs. Thank you. |
remove " (date) (time) " * |
I want it to be " moving towards pokestop XXX - X.Xkm " Instead of " (date) (time) moving towards pokestop XXX - X.Xkm " |
I believe date, time, component's name & action is the standard log output template and there's very little reason we should remove them. |
We can mark it as a feature request. Some folks might like this! |
I agree. It should be possible to remove this info - even if I DO find it useful |
62 logging.basicConfig(
63 level=logging.INFO,
64 format='%(asctime)s [%(name)10s] [%(levelname)s] %(message)s')
65 logger = logging.getLogger('cli') change line 64 to |
ok I'm not familiar with Python and not much with git, so if someone gonna do this, you may add a new config "simplified_log" with default value false to make it more flexible. |
@rawgnii Thank you ! |
See PR #4832 for improved version of this |
Merged to dev! |
Expected Behavior
Moving towards pokestop Keppel Island Marina - 0.14km
Actual Behavior
2016-08-27 18:04:19,285 [MoveToFort] [INFO] [moving_to_fort] Moving towards pokestop Keppel Island Marina - 0.14km
Your FULL config.json (remove your username, password, gmapkey and any other private info)
Output when issue occurred
Steps to Reproduce
I have tried looking for the doc where I can fix this issue but can't find it.
Other Information
OS: Arch 32bit
Branch: master
Git Commit:
Python Version: python2
Any other relevant files/configs (eg: path files)
The text was updated successfully, but these errors were encountered: