diff options
author | plegall <plg@piwigo.org> | 2009-07-21 21:41:31 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2009-07-21 21:41:31 +0000 |
commit | 641caaa2f57fc37081c19be9d80dad323286f849 (patch) | |
tree | 75d2a36b1ac2f0b8ce32090551ecad443ab69860 /include/config_default.inc.php | |
parent | b253200c95444448b2a62239dccca6d285f967fa (diff) |
merge r3661 from branch 2.0 to trunk
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/trunk@3662 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/config_default.inc.php | 6 |
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; |