diff --git a/config/global.ini.php b/config/global.ini.php index 50c8097d46daafa72c4d8a4fad086a0027bca6b2..07f0b68dd8108f1d01a7786f20126df772409fb6 100644 --- a/config/global.ini.php +++ b/config/global.ini.php @@ -37,6 +37,27 @@ adapter = PDO_MYSQL login = password = +[log] +; possible values for log: screen, database, file +log_writers[] = screen + +; log level, everything logged w/ this level or one of greater severity +; will be logged. everything else will be ignored. possible values are: +; NONE, ERROR, WARN, INFO, DEBUG, VERBOSE +log_level = WARN + +; if set to 1, only requests done in CLI mode (eg. the archive.php cron run) will be logged +; NOTE: log_only_when_debug_parameter will also be checked for +log_only_when_cli = 0 + +; if set to 1, only requests with "&debug" parameter will be logged +; NOTE: log_only_when_cli will also be checked for +log_only_when_debug_parameter = 0 + +; if configured to log in a file, log entries will be made to this file +logger_file_path = tmp/logs/piwik.log + + [Debug] ; if set to 1, the archiving process will always be triggered, even if the archive has already been computed ; this is useful when making changes to the archiving code so we can force the archiving process @@ -474,26 +495,6 @@ port = ; Proxy port: the port that the proxy server listens to. There is no stan username = ; Proxy username: optional; if specified, password is mandatory password = ; Proxy password: optional; if specified, username is mandatory -[log] -; possible values for log: screen, database, file -log_writers[] = screen - -; log level, everything logged w/ this level or one of greater severity -; will be logged. everything else will be ignored. possible values are: -; NONE, ERROR, WARN, INFO, DEBUG, VERBOSE -log_level = WARN - -; if set to 1, only requests done in CLI mode (eg. the archive.php cron run) will be logged -; NOTE: log_only_when_debug_parameter will also be checked for -log_only_when_cli = 0 - -; if set to 1, only requests with "&debug" parameter will be logged -; NOTE: log_only_when_cli will also be checked for -log_only_when_debug_parameter = 0 - -; if configured to log in a file, log entries will be made to this file -logger_file_path = tmp/logs/piwik.log - [Plugins] Plugins[] = CorePluginsAdmin Plugins[] = CoreAdminHome