70 Commits

Author SHA1 Message Date
1f7134634b Use static:: instead of $this for static method calls 2016-02-16 14:06:23 +03:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
540883e179 Update syntax migration 2015-10-05 06:02:11 +02:00
543d107508 applied the same fix as #7305 also to DbTarget
fixes #6354
2015-08-03 00:45:34 +02:00
6ee285f321 unused imports removed 2015-07-09 22:20:11 +02:00
ae42a054bb PSR-2 spaces, commas, etc 2015-06-09 00:05:06 +03:00
0c5e4b7105 PSR-2 foreach statement 2015-06-08 23:21:21 +03:00
dd1995551c convert exceptions to string before saving log messages
fixes #7305
2015-05-15 18:49:38 +02:00
771ff15133 Fixed yii\log\Logger unable to export session id
close #8174
fixes #8036
2015-04-24 18:22:26 +02:00
796a0e6156 Fixes #7383: Fix precision loss in log timestamps when using yii\log\DBTarget 2015-02-26 04:11:27 +03:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
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