changeset 1849:5244c9b0b297

mod_http_upload: Log a message with the upload URL and storage path for easy discovery
author Kim Alvefur <zash@zash.se>
date Mon, 14 Sep 2015 12:44:10 +0200
parents e5243fa16210
children e3a0ebe671cc
files mod_http_upload/mod_http_upload.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Mon Sep 14 12:43:10 2015 +0200
+++ b/mod_http_upload/mod_http_upload.lua	Mon Sep 14 12:44:10 2015 +0200
@@ -113,3 +113,5 @@
 		["PUT /*"] = upload_data;
 	};
 });
+
+module:log("info", "URL: <%s>; Storage path: %s", module:http_url(), storage_path);