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
This commit is contained in:
plegall
2009-07-21 21:40:47 +00:00
parent 881aa5ab22
commit 7edf366f8b
2 changed files with 21 additions and 19 deletions
+6
View File
@@ -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;