NDAR / nda-tools

Python package for interacting with NDA web services. Used to validate, submit, and download data to and from NDA.
MIT License
48 stars 22 forks source link

store log files in specific directory #49

Open aporter1350 opened 1 year ago

aporter1350 commented 1 year ago

Hello, I have been working on downloading a large series of subjects through an HPC. The log files are being stored within the NDA file located in my home directory however, I only have a limited amount of storage within my home dir and was wondering if there is a specific parameter that could be added that offers users the ability to store the log files in a different location?

gregmagdits commented 1 year ago

this can be done with the -d command line argument. You can see usage information and details for other flags by running downloadcmd -h

aporter1350 commented 1 year ago

When I use the -d command it does not put the log file in the specified directory it still places the file in ~/NDA/nda-tools/downloadcmd/logs

gregmagdits commented 1 year ago

I apologize, I misread the original comment. There is currently no way to change the location where nda-tools writes logs, but I dont think the default logging config is expected to generate large files. What is the size of the large log file on your machine, and what is the name of the file?