Possible extractor log bug
Firstly, thank you for the really useful software, it make dose audits a breeze!
I’ve recently set the software up and am troubleshooting an import issue but I noticed my extractor log was blank. I am a bit of a novice at this so it’s probably my setup but it looks to me like when you had implemented the Toshiba extractor error log (in settings.py) this bit:
'remapp.extractors.ct_toshiba': {
'handlers': ['extractor_file'],
'level': 'INFO',
'propagate': False,
},
seems to have replaced the bit that was setting the handler for the general extractor log. I’ve set it back and it started working.
Apologies if I’ve just completely misunderstood but thought I should let you know just in case.
Thanks again
Matt
Comments (2)
-
-
reporter I’ve been running the rdsr.py extractor to import dose report files and I was expecting this to write to the openrem_extractor.log (i’d set the logging threshold to debug) however it didn’t and the log file remained completely blank.
In settings.py, I changed line 240 from ‘remapp.extractors.ct_toshiba’ to ‘remapp.extractors.rdsr’. I then resumed importing files and the log file was successfully written to.
Thanks
Matt
- Log in to comment
HI @Matthew Dixon - can you give us some more information about
I have just had a quick look, and I think the logging is working as designed, but possible not as you (and probably other users) expect it to!
Your feedback on this would be very helpful.
Thanks, Ed.