Better logging

This commit is contained in:
Gilles Crettenand
2015-06-04 08:31:49 +02:00
parent c20cfabb67
commit 1f0ea89f2b
3 changed files with 95 additions and 39 deletions

View File

@@ -37,10 +37,11 @@ class Configuration {
),
'log' => array(
'file' => 'C:\inetpub\wwwroot\WebService\logs\log.txt',
'format' => '%ip% - [%date%] - %status% %error% - %time% - %func%',
// The greater the verbosity, the more is displayed
// 0 : no log at all
// 1 : log function calls and errors
// 2 : log parameters and sent data
// 1 : log summary
// 2 : log response
'verbosity' => 0,
),
'session' => array(