Mercurial > prosody-modules
diff mod_http_upload_external/mod_http_upload_external.lua @ 3165:7af4776a5dea
mod_http_upload_external: Log file type and size
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 02 Jul 2018 12:56:51 +0100 |
parents | ac99a04231b1 |
children | 44a187c82b53 |
line wrap: on
line diff
--- a/mod_http_upload_external/mod_http_upload_external.lua Mon Jul 02 12:56:19 2018 +0100 +++ b/mod_http_upload_external/mod_http_upload_external.lua Mon Jul 02 12:56:51 2018 +0100 @@ -83,7 +83,7 @@ local get_url, verify = magic_crypto_dust(random, filename, filesize, filetype); local put_url = get_url .. verify; - module:log("info", "Handing out upload slot %s to %s@%s", get_url, origin.username, origin.host); + module:log("info", "Handing out upload slot %s to %s@%s [%d %s]", get_url, origin.username, origin.host, filesize, filetype); return get_url, put_url; end