comparison mod_http_upload_external/mod_http_upload_external.lua @ 3167:bedd3f4a8f90

mod_http_upload_external: Reduce slot request log level from info to debug for privacy improvement
author Matthew Wild <mwild1@gmail.com>
date Mon, 02 Jul 2018 12:58:14 +0100
parents 44a187c82b53
children 16995e7624f0
comparison
equal deleted inserted replaced
3166:44a187c82b53 3167:bedd3f4a8f90
81 end 81 end
82 local random = uuid(); 82 local random = uuid();
83 local get_url, verify = magic_crypto_dust(random, filename, filesize, filetype); 83 local get_url, verify = magic_crypto_dust(random, filename, filesize, filetype);
84 local put_url = get_url .. verify; 84 local put_url = get_url .. verify;
85 85
86 module:log("info", "Handing out upload slot %s to %s@%s [%d %s]", get_url, origin.username, origin.host, filesize, filetype); 86 module:log("debug", "Handing out upload slot %s to %s@%s [%d %s]", get_url, origin.username, origin.host, filesize, filetype);
87 87
88 return get_url, put_url; 88 return get_url, put_url;
89 end 89 end
90 90
91 -- hooks 91 -- hooks