Slackbot
02/03/2023, 8:25 AMEduardo
poomber build?Eduardo
DataForger
02/03/2023, 12:40 PMDataForger
02/03/2023, 12:40 PMEduardo
DataForger
02/03/2023, 1:35 PMpipeline.yaml just with one simple notebook output (one cell printing or plotting something will suffice). No log parameter.
2. call ploomber build with no log option, just execute the notebook and plot.
3. If you open the notebook you will see the plot rendered in the cell.
4. Now add log option to yaml. Add logger call with custom message inside the cell (plot rendered or some simple message) and execute ploomber with logging to file (INFO is ok)
5. as expected, log is printed to file and shown in cell
6. Remove all to get back to the very same state as step 2 (except the custom log as you need to check messages sometimes output file)
7. Open the notebook and you will see all logging output as in step 5.
8. if you want to restore the previous behaviour with no log you MUST remove the custom log call to file from the cell. Otherwise you will end with a cluttered cell.Eduardo