Accenture / Accenture/AmpliGraph
Personalize log file name and output folder.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
Background and Context
Every time a script with AmpliGraph is launched, a file "application.log" is created in the folder where the main application resides.
This log file is extremely useful, since it also contains results form the grid search.
Description
It would be nice to rename the application.log name, maybe have the possibility to get the log named with the day it is created. Moreover in a "divide algorithms and data" perspective, in order to have a folder with scripts and a folder with log files, it should be possible to select where to redirect such a log file.
In a much more complex project that may use log.debug and log.info, it should be possible to easily redirect and personalize the AmpliGraph logs.
Plus an example of best practice usage should be provided.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the logging setup that creates application.log and trace how log messages are configured. Define the supported options for a custom filename, output folder, and reusable logging configuration, then add an example of the recommended usage and verify that grid-search results still appear in the selected log.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100