Changes to glacier.py in glacier_lib branch.
Changes to glacier.py in glacier_lib branch.

- added logfile option for command line and config file, defaulting to ~/.glacier-cmd.log
(reason: don't want to have log files scattered around my hard disk as glacier-cmd is run from so many different directories).

- moved setting up logging to the end of main(), after parsing the configuration.

- moved constants declarations together.

- what is that @wraps(fn) doing in handle_errors(fn)?

- added import pytz

- bugfix in mkvault

- bugfix in rmvault (it now actually removes the vault instead of creating it)

- added warning that part size is increased if user supplied part size is too small.

- made messages related to archive retrieval more meaningful.

- renamed function deletearchive to rmarchive so it's the same as the command line option (all other functions do match their command line option name).

- added output when starting inventory retrieval jobs.

- setuplogging now takes (args) as argument, to pass in various logging related arguments.

- renamed command line option -d/--debug to -l/--loglevel

sirkubax/amazon-glacier-cmd-interface,gburca/amazon-glacier-cmd-interface,redbaron76/amazon-glacier-cmd-interface,uskudnik/amazon-glacier-cmd-interface,gidsg/amazon-glacier-cmd-interface,maliciamrg/amazon-glacier-cmd-interface