diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-20 00:31:16 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-02-20 00:31:16 +0400 |
commit | 1580cef97795e94528ed9cfa33fb14a31fba8c64 (patch) | |
tree | 78b9fcd5fdce1b40902ee97c2fb3a60b30977341 /misc | |
parent | 3e3c91a5da0ae0bfcac6a153e53b99f22ec7740f (diff) |
Fix CLI bootstrap script (add missing use statements and tweak Log config).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/others/cli-script-bootstrap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/others/cli-script-bootstrap.php b/misc/others/cli-script-bootstrap.php index 0cfd5b787c..da0d3fbf72 100644 --- a/misc/others/cli-script-bootstrap.php +++ b/misc/others/cli-script-bootstrap.php @@ -6,6 +6,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ +use Piwik\Config; +use Piwik\FrontController; error_reporting(E_ALL | E_NOTICE); @@ -33,4 +35,5 @@ define('PIWIK_ENABLE_DISPATCH', false); Config::getInstance()->log['log_writers'][] = 'screen'; Config::getInstance()->log['log_level'] = 'VERBOSE'; +Config::getInstance()->log['string_message_format'] = "%message%"; FrontController::getInstance()->init();
\ No newline at end of file |