Ignore:
Timestamp:
Jul 21, 2009, 11:41:31 PM (15 years ago)
Author:
plg
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r3382 r3662  
    654654// Web services are allowed (true) or completely forbidden (false)
    655655$conf['allow_web_services'] = true;
     656
     657// enable log for web services
     658$conf['ws_enable_log'] = false;
     659
     660// web services log file path
     661$conf['ws_log_filepath'] = '/tmp/piwigo_ws.log';
    656662
    657663// Maximum number of images to be returned foreach call to the web service
Note: See TracChangeset for help on using the changeset viewer.