mirror of https://github.com/stashapp/stash.git
![]() * 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 |
||
---|---|---|
.. | ||
stashbox | ||
action.go | ||
config.go | ||
cookies.go | ||
freeones.go | ||
image.go | ||
json.go | ||
json_test.go | ||
mapped.go | ||
mapped_test.go | ||
matchers.go | ||
query_url.go | ||
scrapers.go | ||
script.go | ||
stash.go | ||
url.go | ||
xpath.go | ||
xpath_test.go |