7c609ad8fb
allow disabling log rotation
...
fixes #6896
close #6913
2015-01-22 16:57:23 +01:00
b33824044f
added check for undefined application to log Target
...
allows using logger without a Yii application now.
close #6739
2015-01-07 23:15:38 +01:00
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as DbCache
2015-01-04 19:28:05 -05:00
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
2014-12-17 00:39:54 +03:00
42ca4bb991
Fixed yii\log\DbTarget migration and SQLs to use float column for log_time
2014-11-12 14:06:39 +03:00
88caccd61d
Fixes #5997 : The same message may be exported twice to log targets
2014-11-10 13:49:19 -05:00
f91929761a
yii\log\Logger::flush() updated to reset messages before passing them to the dispatcher.
2014-11-10 13:46:48 -05:00
f1812210a8
Fixes #5768 : When setting data-confirm attribute to a submit button, clicking on the button would not trigger form submission
2014-11-07 10:29:04 -05:00
8923d20a3f
Fixes #5619 : yii\log\Target should not attempt to start session when there is none
2014-11-07 09:53:45 -05:00
b8cb5e2a28
Fixes #4263 : Added migration and SQL schema files for yii\log\DbTarget
2014-11-06 23:22:26 +03:00
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
2014-10-11 09:35:55 -04:00
88d38b7820
Fixes #4501 : Renamed the constant YII_PATH to YII2_PATH
2014-08-14 22:17:05 -04:00
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
31a56b59b0
Avoid endless loop when exporting logs
...
fixes #4470
2014-07-27 22:11:57 +02:00
e54fc6f4c2
yii\mongodb\log\MongoDbTarget log target added
2014-07-17 17:23:12 +03:00
6c6928bede
change default facility of SyslogTarget
...
LOG_SYSLOG - messages generated internally by syslogd. As we know PHP is not a part of syslogd therefore we should use LOG_USER. (additionaly LOG_USER is the only valid log type under Windows operating systems)
2014-07-04 15:02:34 +04:00
c0a15ded02
added trace level to log message formatting
...
fixes #4123
2014-07-02 18:46:07 +02:00
b5ccf3bc04
changed default for rotateByCopy of FileTarget
...
works on windows out of the box now.
fixes #3989
2014-06-27 14:53:08 +02:00
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
2014-06-27 12:54:20 +02:00
2457e24795
Fixes #4071 : mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer
2014-06-26 18:28:28 +04:00
9f3e716932
Added example to EmailTarget phpdoc
2014-06-26 18:06:03 +04:00
38c056c736
Moved handling from Target to Dispatcher, fixed edge cases
2014-06-26 15:01:02 +04:00
a92dd65e0e
Fixes #3101 : Improved handling of log target failures. It will now skip target and log reason instead of going into infinite cycle
2014-06-26 14:00:30 +04:00
cc5c413711
better fix for #2988
2014-06-25 23:17:45 +02:00
18c3e8ef01
clear stat cache in logger to avoid cache of file state
...
fixes #2988
2014-06-25 23:14:33 +02:00
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
59b967cc17
Fixes #3968 : Messages logged in shutdown functions are not handled
2014-06-19 12:01:57 -04:00
886def8571
removed unused argument
2014-06-09 15:51:50 +02:00
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
2014-06-09 14:58:36 +02:00
b1cf051a73
Adding rotateByCopy to yii\log\FileTarget #3562
2014-05-26 10:25:15 +02:00
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
2014-05-04 20:02:06 +04:00
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
12d34849cc
improved phpdoc command
2014-04-23 02:13:53 +02:00
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
2014-04-16 19:29:07 -03:00
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
f6eb5e69bc
Fixes #2998 : Added framework\log\SyslogTarget that is able to write log to syslog
2014-04-09 01:46:18 +04:00
171cab2d6f
Merge branch 'SyslogTarget' of github.com:miramir/yii2 into miramir-SyslogTarget
2014-04-09 01:41:45 +04:00
bdbcadbe8a
Add SyslogTarget
2014-04-06 20:44:26 +06:00
3616d1f0d1
Fixes #2816 : Changed default date and time format of yii\base\Formatter to Y-m-d and H:i:s
2014-04-05 18:15:06 -04:00
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
093f5ebd32
ensure log dispatcher gets registered with logger in all cases
...
fixes #2894
2014-03-27 15:05:16 +01:00
6f552e0fdf
ensure logger gets set before any other config
...
fixes #2894
2014-03-27 13:04:36 +01:00
f0dcceb37c
ensure Dispatchers logger gets set when requested.
...
fixes #2894
2014-03-27 13:00:59 +01:00
f7edebb295
Fixed test break.
2014-03-26 22:06:12 -04:00
f8b63591b0
Fix #2877 : yii\log\Logger is split into yii\log\Logger and yii\log\Dispatcher. (qiangxue)
2014-03-26 21:48:41 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
b393ea0d81
Fixes #2851 .
2014-03-22 12:31:24 -04:00
d79febfd04
removed space in log prefixes [skip ci]
2014-03-21 23:09:19 -04:00
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00