With the current logging mechanism, it is not straightforward to trace back the source for which an unknown sustainability label was found. This PR adds the source to the logging message which ensures a correct identification of the source to which an unknown label belongs.
The old message format looked like e.g. this:
2023-02-19 20:00:08,562 - INFO - extract.utils: unknown sustainability label: TENCEL™ Lyocell (Lenzing)
which will be replaced by this:
2023-02-19 20:00:08,562 - INFO - extract.utils: unknown sustainability label from otto: TENCEL™ Lyocell (Lenzing)
With the current logging mechanism, it is not straightforward to trace back the source for which an unknown sustainability label was found. This PR adds the source to the logging message which ensures a correct identification of the source to which an unknown label belongs.
The old message format looked like e.g. this:
2023-02-19 20:00:08,562 - INFO - extract.utils: unknown sustainability label: TENCEL™ Lyocell (Lenzing)
which will be replaced by this:2023-02-19 20:00:08,562 - INFO - extract.utils: unknown sustainability label from otto: TENCEL™ Lyocell (Lenzing)