Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
312 stars 76 forks source link

Save logs in the .config/antfs-cli/logs directory #121

Closed mgr01 closed 9 years ago

mgr01 commented 9 years ago

Had to remove logger.debug("Creating directories") -- because I can't open a logfile before creating config & log dirs -- and moved makedirs_if_not_exists(config_dir) from AntFSCLI.__init__() to main(). Also added information about logs location to the README.

Closes #57.

Tested with Python 2.7.8 and 3.4.2.

mgr01 commented 9 years ago

..or I could move config dir & logging set ups back into AntFSCLI.__init__() and put them before the Application.__init__(self) call.