refactor logging and filters

This commit is contained in:
Aleksandr Trushkin
2024-02-19 18:11:59 +03:00
parent 149cde5b22
commit fd9e5ade18
14 changed files with 409 additions and 92 deletions

View File

@ -14,3 +14,48 @@ _session_user = "1490"
owner_id = "26476"
debug = false
workers_pool = 3
# Matcher patterns to detect length / width / height
[dimension_matcher]
case_sensitive = true
[[dimension_matcher.length]]
value = "Длина"
type = "pattern"
[[dimension_matcher.length]]
value = "Общ. длина"
type = "pattern"
[[dimension_matcher.length]]
value = "Длина/*"
type = "pattern"
[[dimension_matcher.length]]
value = "Длина (*"
type = "pattern"
[[dimension_matcher.width]]
value = "Ширина"
type = "pattern"
[[dimension_matcher.width]]
value = "Ширина/*"
type = "pattern"
[[dimension_matcher.width]]
value = "Ширина (*"
type = "pattern"
[[dimension_matcher.heigth]]
value = "Высота"
type = "pattern"
[[dimension_matcher.heigth]]
value = "Высота/*"
type = "pattern"
[[dimension_matcher.heigth]]
value = "Высота (*"
type = "pattern"