-
Improvement
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
I have two suggestions to enhance logging:
- In `picard/picard/log.py`: the `name_filter` method removes the standard path prefix for the python source file. This function should be extended to do the same for files in the plugins directories i.e. instead of `C:\a long profile path\Picard\plugins*` we now get just `plugins/*`.
- In the `webservice/_init_.py` `get` method, we have a warning that this method is deprecated. We should enhance this warning using Python's `inspect` or `traceback` modules to add exactly where the call to the `get` method originated as without this this message is far less useful i.e. you get several or indeed hundreds of such messages in the debug log with no idea where they were called from.