chg: More logging improvements

pull/557/head
Raphaël Vinot 2022-11-28 12:23:37 +01:00
parent 48bbc30c59
commit 3092b46f5d
3 changed files with 13 additions and 13 deletions

View File

@ -421,7 +421,7 @@ class Lookyloo():
return None
except MissingUUID:
if self.get_capture_status(capture_uuid) not in [CaptureStatusCore.QUEUED, CaptureStatusCore.ONGOING]:
self.logger.warning(f'Unable to find {capture_uuid} (not in the cache and/or missing capture directory).')
self.logger.info(f'Unable to find {capture_uuid} (not in the cache and/or missing capture directory).')
return None
except LookylooException as e:
self.logger.warning(f'Lookyloo Exception: {e}')

20
poetry.lock generated
View File

@ -409,7 +409,7 @@ tornado = ["tornado (>=0.2)"]
[[package]]
name = "har2tree"
version = "1.16.2"
version = "1.16.3"
description = "HTTP Archive (HAR) to ETE Toolkit generator"
category = "main"
optional = false
@ -1170,7 +1170,7 @@ python-versions = ">=3.6"
[[package]]
name = "stack-data"
version = "0.6.1"
version = "0.6.2"
description = "Extract data from python stack frames and tracebacks for informative displays"
category = "dev"
optional = false
@ -1260,7 +1260,7 @@ python-versions = "*"
[[package]]
name = "types-redis"
version = "4.3.21.5"
version = "4.3.21.6"
description = "Typing stubs for redis"
category = "dev"
optional = false
@ -1435,7 +1435,7 @@ misp = ["python-magic", "pydeep2"]
[metadata]
lock-version = "1.1"
python-versions = ">=3.8,<3.12"
content-hash = "fd84ec658f9f8146dda28a650b4926d702ead894b65b88d9de07657726d94152"
content-hash = "04ed75937df83ea4e46ac5da1d805d124a6d774aacc4327ba65185efe55f3434"
[metadata.files]
aiohttp = [
@ -1832,8 +1832,8 @@ gunicorn = [
{file = "gunicorn-20.1.0.tar.gz", hash = "sha256:e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8"},
]
har2tree = [
{file = "har2tree-1.16.2-py3-none-any.whl", hash = "sha256:7f8b24628bb173d360e91c5b29d94207f77d36c7acea889d83f23dd8c7da64cb"},
{file = "har2tree-1.16.2.tar.gz", hash = "sha256:b504d8c3b0928bd1b86a2e7ea52587116b093a56e17e466acbe1124f9d76c98c"},
{file = "har2tree-1.16.3-py3-none-any.whl", hash = "sha256:119e5bc5e6a5d39c96027def8b6b39939e64941079f2ab1d438e3bff377b5627"},
{file = "har2tree-1.16.3.tar.gz", hash = "sha256:b0e5663e18c5f4394c69d47b856b5fae8aa0ec15e02f3ddc8eecacbd6f36ef1a"},
]
hiredis = [
{file = "hiredis-2.0.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b4c8b0bc5841e578d5fb32a16e0c305359b987b850a06964bd5a62739d688048"},
@ -2559,8 +2559,8 @@ soupsieve = [
{file = "soupsieve-2.3.2.post1.tar.gz", hash = "sha256:fc53893b3da2c33de295667a0e19f078c14bf86544af307354de5fcf12a3f30d"},
]
stack-data = [
{file = "stack_data-0.6.1-py3-none-any.whl", hash = "sha256:960cb054d6a1b2fdd9cbd529e365b3c163e8dabf1272e02cfe36b58403cff5c6"},
{file = "stack_data-0.6.1.tar.gz", hash = "sha256:6c9a10eb5f342415fe085db551d673955611afb821551f554d91772415464315"},
{file = "stack_data-0.6.2-py3-none-any.whl", hash = "sha256:cbb2a53eb64e5785878201a97ed7c7b94883f48b87bfb0bbe8b623c74679e4a8"},
{file = "stack_data-0.6.2.tar.gz", hash = "sha256:32d2dd0376772d01b6cb9fc996f3c8b57a357089dec328ed4b6553d037eaf815"},
]
tldextract = [
{file = "tldextract-3.4.0-py3-none-any.whl", hash = "sha256:47aa4d8f1a4da79a44529c9a2ddc518663b25d371b805194ec5ce2a5f615ccd2"},
@ -2595,8 +2595,8 @@ types-python-dateutil = [
{file = "types_python_dateutil-2.8.19.4-py3-none-any.whl", hash = "sha256:722a55be8e2eeff749c3e166e7895b0e2f4d29ab4921c0cff27aa6b997d7ee2e"},
]
types-redis = [
{file = "types-redis-4.3.21.5.tar.gz", hash = "sha256:4be36676840606c536fa43de0221141699962499318a9fd7c75202506d19e1d2"},
{file = "types_redis-4.3.21.5-py3-none-any.whl", hash = "sha256:0eb90bb7a20fbc3c2307f71a08179e37feee23d9922f3614daa75fd3a8e7506d"},
{file = "types-redis-4.3.21.6.tar.gz", hash = "sha256:f7969f73a0f79e9e7895f053a06d8b429fb7b5d4fe1269b8ee40463388f653ad"},
{file = "types_redis-4.3.21.6-py3-none-any.whl", hash = "sha256:615e5a9142993789ffc22ee54435769b600da3e528bb51cf38430e5cd82af306"},
]
types-requests = [
{file = "types-requests-2.28.11.5.tar.gz", hash = "sha256:a7df37cc6fb6187a84097da951f8e21d335448aa2501a6b0a39cbd1d7ca9ee2a"},

View File

@ -62,7 +62,7 @@ pyhashlookup = "^1.2.1"
lief = "^0.12.3"
ua-parser = "^0.16.1"
Flask-Login = "^0.6.2"
har2tree = "^1.16.2"
har2tree = "^1.16.3"
passivetotal = "^2.5.9"
werkzeug = "^2.2.2"
filetype = "^1.2.0"
@ -76,7 +76,7 @@ misp = ['python-magic', 'pydeep2']
[tool.poetry.group.dev.dependencies]
mypy = "^0.991"
ipython = "^8.6.0"
types-redis = "^4.3.21.5"
types-redis = "^4.3.21.6"
types-requests = "^2.28.11.5"
types-pkg-resources = "^0.1.3"
types-Deprecated = "^1.2.9"