Ignore:
Timestamp:
Apr 24, 2015, 4:00:50 PM (9 years ago)
Author:
mistic100
Message:

feature 3221 Add Logger class

File:
1 edited

Legend:

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

    r31097 r31102  
    463463$conf['show_php_errors'] = E_ALL;
    464464
    465 // enable log for i derivative script
    466 $conf['enable_i_log'] = false;
    467465
    468466// +-----------------------------------------------------------------------+
     
    653651// Web services are allowed (true) or completely forbidden (false)
    654652$conf['allow_web_services'] = true;
    655 
    656 // enable log for web services
    657 $conf['ws_enable_log'] = false;
    658 
    659 // web services log file path
    660 $conf['ws_log_filepath'] = '/tmp/piwigo_ws.log';
    661653
    662654// Maximum number of images to be returned foreach call to the web service
     
    813805// the directory where "ffmpeg" executable is.
    814806$conf['ffmpeg_dir'] = '';
    815 ?>
     807
     808// +-----------------------------------------------------------------------+
     809// |                                 log                                   |
     810// +-----------------------------------------------------------------------+
     811// Logs directory, relative to $conf['data_location']
     812$conf['log_dir'] = '/logs';
     813
     814// Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG)
     815// development = DEBUG, production = ERROR
     816$conf['log_level'] = 'DEBUG';
     817
     818// Keep logs file during X days
     819$conf['log_archive_days'] = 30;
Note: See TracChangeset for help on using the changeset viewer.