aboutsummaryrefslogtreecommitdiffstats
path: root/include/config_default.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2009-07-21 21:40:47 +0000
committerplegall <plg@piwigo.org>2009-07-21 21:40:47 +0000
commit7edf366f8b50e6e60cc2627824ab34a24e5311c2 (patch)
tree97c5174a0ff253666f545120abc48685aaf6738a /include/config_default.inc.php
parent881aa5ab221c3670e34f60ed8a642762638804e9 (diff)
feature 1071: improve log system on API calls. The log can be activated by a
configuration setting. The log file can be changed also with a configuration setting. improvement: pwg.images.add API methods gets a cleaner way to log received parameters. git-svn-id: http://piwigo.org/svn/branches/2.0@3661 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/config_default.inc.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 5857d7fa1..27648fd0f 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -654,6 +654,12 @@ $conf['enable_plugins']=true;
// Web services are allowed (true) or completely forbidden (false)
$conf['allow_web_services'] = true;
+// enable log for web services
+$conf['ws_enable_log'] = false;
+
+// web services log file path
+$conf['ws_log_filepath'] = '/tmp/piwigo_ws.log';
+
// Maximum number of images to be returned foreach call to the web service
$conf['ws_max_images_per_page'] = 500;