stash/pkg
gitgiggety b83ce29ac4
Scraper log improvements (#1741)
* Fix logs from scraper and plugins not being shown in UI

Using `logger.` in the logger package to write logs is "incorrect". This
as the package contains a variable named `logger` which contains the
logrus instance. So instead of the log line being handled by the custom
log implementation / wrapper which makes sure the lines are shown in the
UI as well, it's written to logrus directly meaning the wrapper is
skipped.

This "issue" is obviously triggered because in any other place
`logger.X` can be used and it will used the custom logger package /
wrapper which works fine.

* Add plugin / scraper name to logging output

Indicate which plugin / scraper wrote a log message by including its
name to the `[Scrape]` prefix.

* Add missing addLogItem call
2021-09-19 10:06:34 +10:00
..
api Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
autotag Fix autotag tag alias (#1713) 2021-09-17 09:23:56 +10:00
database Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
dlna Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
ffmpeg Remove unused (#1709) 2021-09-09 14:10:08 +10:00
gallery Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
image Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
job Fix data race in progress_test (#1696) 2021-09-07 13:30:26 +10:00
logger Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
manager Fix autotag tag alias (#1713) 2021-09-17 09:23:56 +10:00
models Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
movie Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
performer Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
plugin Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
scene Remove unused (#1709) 2021-09-09 14:10:08 +10:00
scraper Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
session Remove unused (#1709) 2021-09-09 14:10:08 +10:00
sqlite Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
studio Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
tag Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
utils Remove unused (#1709) 2021-09-09 14:10:08 +10:00