Diff

mod_http_upload/mod_http_upload.lua @ 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
parent 1848:e5243fa16210
child 1850:e3a0ebe671cc
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);