Closed achapkowski closed 8 years ago
Would it be possible/useful to create a global environment setting (a la arcpy.env.overwriteOutput
) for message logging? My naive thought is something like arcrest.env.verbose = 0|1|2
which would suppress all print functions, only show errors, and print everything, respectively.
I also plan on taking a stab at the Sphinx/jinja documentation.
Paul, There are some good logging modules in python that we could look at leveraging - https://docs.python.org/2/howto/logging.html
We can try to create an htttphandler(debug=1) to print out urllib messages?
Also new in the 3.5.3 version there is a object.last_code, last_message, and last_url which can help in debugging as well.
Or just use fiddler ☺
TODO (for now):
[x] Issue with python 2.7.10 and invalid SSL certificates. Make this an optional flag on BaseWebOperation Module. By default it will be set to True, but if it is False and Python is 2.7.9 or greater, this code at the 2.7 framework needs to be run:
WISHLIST (for now):
Please feel free to add your comments. This is just some of the goals for the next release. Remember this is fluid, and comments are welcome.
Additional Functionality: