Klimov Paul
09b1fd47e0
Fixed yii\log\FileTarget does not apply fileMode for rotated via copy files
2016-08-30 13:41:54 +03:00
Dmitriy Makarov
2d9b659777
Fixes #12296 : Added value validation to yii\log\Target::setLevels()
2016-08-25 20:47:03 +03:00
Dmitriy Makarov
51d9c288cb
Added missing 'LEVEL_PROFILE' ( #12068 )
2016-08-03 11:11:50 +03:00
Dmitriy Makarov
5189693560
Added 'LEVEL_PROFILE' to the map of levels ( #12045 )
2016-07-29 16:25:03 +03:00
Carsten Brandt
217d50e4ff
improved PHPdoc and @since annotations
2016-07-11 12:58:43 +02:00
Alexander Makarov
4fd4ac04b1
Minor adjustments for #11462
2016-07-03 02:05:13 +03:00
Viktor Pikaev
30bb9bd7c8
Fixes #11462 : Added support of filtering rules to yii\log\Target::$logVar, added \yii\helpers\BaseArrayHelper::filter() method
2016-07-03 01:56:05 +03:00
Alexander Makarov
7cea46bcb4
Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289
2016-06-06 19:57:42 +03:00
Boudewijn Vahrmeijer
0a60466729
Fixes #11527 : Fixed bigPrimaryKey() for SQLite
2016-06-06 19:33:22 +03:00
Carsten Brandt
731769241b
release version 2.0.8
2016-04-28 16:50:20 +02:00
Carsten Brandt
22503ebe97
allow setting custom logger in Dispatcher via config
...
fixes #11056
2016-04-22 10:53:59 +02:00
zuozp8
95a7631e4f
fixes #11333 avoid serializing php7 errors ( #11335 )
...
fixes #11333
2016-04-13 05:52:48 +02:00
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
2016-02-16 14:06:23 +03:00
SilverFire - Dmitry Naumenko
cd87d67f34
Global DOCS update: ~~~ replaced with ```
2015-12-02 23:15:28 +02:00
Daniel Gomez Pan
540883e179
Update syntax migration
2015-10-05 06:02:11 +02:00
Carsten Brandt
543d107508
applied the same fix as #7305 also to DbTarget
...
fixes #6354
2015-08-03 00:45:34 +02:00
Sebastian Chojniak
6ee285f321
unused imports removed
2015-07-09 22:20:11 +02:00
Alexander Mohorev
ae42a054bb
PSR-2 spaces, commas, etc
2015-06-09 00:05:06 +03:00
Alexander Mohorev
0c5e4b7105
PSR-2 foreach statement
2015-06-08 23:21:21 +03:00
Carsten Brandt
dd1995551c
convert exceptions to string before saving log messages
...
fixes #7305
2015-05-15 18:49:38 +02:00
Klimov Paul
771ff15133
Fixed yii\log\Logger unable to export session id
...
close #8174
fixes #8036
2015-04-24 18:22:26 +02:00
Alexander Makarov
796a0e6156
Fixes #7383 : Fix precision loss in log timestamps when using yii\log\DBTarget
2015-02-26 04:11:27 +03:00
Alexander Makarov
6481d13494
Optimized checks order in conditions
2015-02-08 17:56:36 +03:00
Carsten Brandt
7c609ad8fb
allow disabling log rotation
...
fixes #6896
close #6913
2015-01-22 16:57:23 +01:00
Tobias Munk
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
Qiang Xue
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
Alexander Makarov
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
2014-12-17 00:39:54 +03:00
Alexander Makarov
42ca4bb991
Fixed yii\log\DbTarget migration and SQLs to use float column for log_time
2014-11-12 14:06:39 +03:00
Qiang Xue
88caccd61d
Fixes #5997 : The same message may be exported twice to log targets
2014-11-10 13:49:19 -05:00
Klimov Paul
f91929761a
yii\log\Logger::flush() updated to reset messages before passing them to the dispatcher.
2014-11-10 13:46:48 -05:00
Qiang Xue
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
Qiang Xue
8923d20a3f
Fixes #5619 : yii\log\Target should not attempt to start session when there is none
2014-11-07 09:53:45 -05:00
Alexander Makarov
b8cb5e2a28
Fixes #4263 : Added migration and SQL schema files for yii\log\DbTarget
2014-11-06 23:22:26 +03:00
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
2014-10-11 09:35:55 -04:00
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