Skip to content
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

Log CSV location is difficult to obtain #101

Open
christopherwallis opened this issue Apr 26, 2019 · 1 comment
Open

Log CSV location is difficult to obtain #101

christopherwallis opened this issue Apr 26, 2019 · 1 comment

Comments

@christopherwallis
Copy link
Collaborator

Would be good to be able to easily reference the location of the log file to add additional data to the directory (or file). Eg chunks of data from dataloggers.

Currently the location is stored/accessible as fixate.reporting.csv.writer.reporting.csv_path once initialised

@clint-lawrence
Copy link
Collaborator

I can think of a couple of things we might like to do for this.

  • Have a function that returns the currently log file directory
  • Have a function that returns an open file handle to a newly created file in the right place. We might need to pass in a suffix to add to the log file name?

Not sure if it makes sense for this to go into fixate.config or fixate.reporting. Probably leaning to fixate.config. And then fixate.reporting would use the same/similar api to get a file path to write the standard log file to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants