Mercurial > prosody-modules
changeset 5699:83a2fb6df746
mod_storage_s3: Fix logging
Seems request and response loggers is only a thing on http requests and
responses from net.http.server, not net.http requests.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 11 Nov 2023 22:43:34 +0100 |
parents | 991fb904fa49 |
children | 9de7a1b36efb |
files | mod_storage_s3/mod_storage_s3.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_storage_s3/mod_storage_s3.lua Sat Nov 11 22:32:18 2023 +0100 +++ b/mod_storage_s3/mod_storage_s3.lua Sat Nov 11 22:43:34 2023 +0100 @@ -144,7 +144,7 @@ elseif content_type == "application/x-www-form-urlencoded" then return httputil.formdecode(response.body); else - response.log("warn", "Unknown response data type %s", content_type); + module:log("warn", "Unknown response data type %s", content_type); return response.body; end end