Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant YII_PATH to YII2_PATH
2014-08-14 22:17:05 -04:00
Carsten Brandt
3a1e0f3a5c
property codestyle framework
2014-07-30 00:21:31 +02:00
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
2014-07-30 02:15:08 +04:00
Carsten Brandt
31a56b59b0
Avoid endless loop when exporting logs
...
fixes #4470
2014-07-27 22:11:57 +02:00
Klimov Paul
e54fc6f4c2
yii\mongodb\log\MongoDbTarget log target added
2014-07-17 17:23:12 +03:00
Vladimir
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
Carsten Brandt
c0a15ded02
added trace level to log message formatting
...
fixes #4123
2014-07-02 18:46:07 +02:00
Carsten Brandt
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
Carsten Brandt
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
2014-06-27 12:54:20 +02:00
Alexander Makarov
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
Alexander Makarov
9f3e716932
Added example to EmailTarget phpdoc
2014-06-26 18:06:03 +04:00
Alexander Makarov
38c056c736
Moved handling from Target to Dispatcher, fixed edge cases
2014-06-26 15:01:02 +04:00
Alexander Makarov
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
Carsten Brandt
cc5c413711
better fix for #2988
2014-06-25 23:17:45 +02:00
Carsten Brandt
18c3e8ef01
clear stat cache in logger to avoid cache of file state
...
fixes #2988
2014-06-25 23:14:33 +02:00
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
2014-06-20 17:40:00 +04:00
Qiang Xue
59b967cc17
Fixes #3968 : Messages logged in shutdown functions are not handled
2014-06-19 12:01:57 -04:00
Carsten Brandt
886def8571
removed unused argument
2014-06-09 15:51:50 +02:00
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
2014-06-09 14:58:36 +02:00
Paweł 'Zibi' Zaremba
b1cf051a73
Adding rotateByCopy to yii\log\FileTarget #3562
2014-05-26 10:25:15 +02:00
Alexander Makarov
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
2014-05-04 20:02:06 +04:00
Carsten Brandt
91965fd391
phpdoc formatting issues
2014-04-23 02:55:17 +02:00
Carsten Brandt
12d34849cc
improved phpdoc command
2014-04-23 02:13:53 +02:00
Thiago Talma
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
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
Alexander Makarov
f6eb5e69bc
Fixes #2998 : Added framework\log\SyslogTarget that is able to write log to syslog
2014-04-09 01:46:18 +04:00
Alexander Makarov
171cab2d6f
Merge branch 'SyslogTarget' of github.com:miramir/yii2 into miramir-SyslogTarget
2014-04-09 01:41:45 +04:00
miramir
bdbcadbe8a
Add SyslogTarget
2014-04-06 20:44:26 +06:00
Qiang Xue
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
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Carsten Brandt
093f5ebd32
ensure log dispatcher gets registered with logger in all cases
...
fixes #2894
2014-03-27 15:05:16 +01:00
Carsten Brandt
6f552e0fdf
ensure logger gets set before any other config
...
fixes #2894
2014-03-27 13:04:36 +01:00
Carsten Brandt
f0dcceb37c
ensure Dispatchers logger gets set when requested.
...
fixes #2894
2014-03-27 13:00:59 +01:00
Qiang Xue
f7edebb295
Fixed test break.
2014-03-26 22:06:12 -04:00
Qiang Xue
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
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
Qiang Xue
b393ea0d81
Fixes #2851 .
2014-03-22 12:31:24 -04:00
Qiang Xue
d79febfd04
removed space in log prefixes [skip ci]
2014-03-21 23:09:19 -04:00
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
2014-03-18 12:31:27 -04:00
Qiang Xue
72c99663ff
Refactored container.
2014-03-18 11:49:52 -04:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
Qiang Xue
c6a946ec79
Fixes #497 : Removed \yii\log\Target::logUser and added \yii\log\Target::prefix to support customizing message prefix
2014-03-16 21:04:40 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
Carsten Brandt
262189533a
huge amount of documentation link fixes
2014-01-28 17:54:40 +01:00
Carsten Brandt
21ae27b306
updated phpdoc properties
2014-01-28 00:11:18 +01:00
peeradach001
f36ec8c9ca
doc fix
2014-01-24 16:25:41 +07:00
Alexander Makarov
5d23a066ca
Removed unused imports
2014-01-12 23:42:55 +04:00
Qiang Xue
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00