Alexander Makarov
ab0033542b
Fixes #6247 : Logger and error handler are now using slightly less memory
10 years ago
Alexander Makarov
42ca4bb991
Fixed `yii\log\DbTarget` migration and SQLs to use float column for log_time
10 years ago
Qiang Xue
88caccd61d
Fixes #5997 : The same message may be exported twice to log targets
10 years ago
Klimov Paul
f91929761a
`yii\log\Logger::flush()` updated to reset messages before passing them to the dispatcher.
10 years ago
Qiang Xue
f1812210a8
Fixes #5768 : When setting `data-confirm` attribute to a submit button, clicking on the button would not trigger form submission
10 years ago
Qiang Xue
8923d20a3f
Fixes #5619 : `yii\log\Target` should not attempt to start session when there is none
10 years ago
Alexander Makarov
b8cb5e2a28
Fixes #4263 : Added migration and SQL schema files for `yii\log\DbTarget`
10 years ago
Qiang Xue
be2828d593
Fixes #5484 : Fixed potential string suffix detection failure on 5.5.11
10 years ago
Qiang Xue
88d38b7820
Fixes #4501 : Renamed the constant `YII_PATH` to `YII2_PATH`
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
3a1e0f3a5c
property codestyle framework
10 years ago
Alexander Makarov
1c414caace
Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare
10 years ago
Carsten Brandt
31a56b59b0
Avoid endless loop when exporting logs
...
fixes #4470
10 years ago
Klimov Paul
e54fc6f4c2
`yii\mongodb\log\MongoDbTarget` log target added
10 years ago
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)
10 years ago
Carsten Brandt
c0a15ded02
added trace level to log message formatting
...
fixes #4123
10 years ago
Carsten Brandt
b5ccf3bc04
changed default for rotateByCopy of FileTarget
...
works on windows out of the box now.
fixes #3989
10 years ago
Carsten Brandt
bd9cddb8d9
fixed rotateByCopy to avoid any rename()
...
fixes issue #3989
10 years ago
Alexander Makarov
2457e24795
Fixes #4071 : `mail` component renamed to `mailer`, `yii\log\EmailTarget::$mail` renamed to `yii\log\EmailTarget::$mailer`
10 years ago
Alexander Makarov
9f3e716932
Added example to EmailTarget phpdoc
10 years ago
Alexander Makarov
38c056c736
Moved handling from Target to Dispatcher, fixed edge cases
10 years ago
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
10 years ago
Carsten Brandt
cc5c413711
better fix for #2988
10 years ago
Carsten Brandt
18c3e8ef01
clear stat cache in logger to avoid cache of file state
...
fixes #2988
10 years ago
Alexander Makarov
0c14f47f9a
Fixes #3793 : Changed inline autocomplete hints style to get more IDEs support
10 years ago
Qiang Xue
59b967cc17
Fixes #3968 : Messages logged in shutdown functions are not handled
10 years ago
Carsten Brandt
886def8571
removed unused argument
10 years ago
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
10 years ago
Paweł 'Zibi' Zaremba
b1cf051a73
Adding rotateByCopy to yii\log\FileTarget #3562
11 years ago
Alexander Makarov
4e5079abd8
Fix #3327 : "Unable to find debug data" when logging objects with circular references
11 years ago
Carsten Brandt
91965fd391
phpdoc formatting issues
11 years ago
Carsten Brandt
12d34849cc
improved phpdoc command
11 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
11 years ago
Alexander Makarov
f6eb5e69bc
Fixes #2998 : Added `framework\log\SyslogTarget` that is able to write log to syslog
11 years ago
miramir
bdbcadbe8a
Add SyslogTarget
11 years ago
Qiang Xue
3616d1f0d1
Fixes #2816 : Changed default date and time format of `yii\base\Formatter` to `Y-m-d` and `H:i:s`
11 years ago
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed `tbl_` default for table prefix
11 years ago
Carsten Brandt
093f5ebd32
ensure log dispatcher gets registered with logger in all cases
...
fixes #2894
11 years ago
Carsten Brandt
6f552e0fdf
ensure logger gets set before any other config
...
fixes #2894
11 years ago
Carsten Brandt
f0dcceb37c
ensure Dispatchers logger gets set when requested.
...
fixes #2894
11 years ago
Qiang Xue
f7edebb295
Fixed test break.
11 years ago
Qiang Xue
f8b63591b0
Fix #2877 : `yii\log\Logger` is split into `yii\log\Logger` and `yii\log\Dispatcher`. (qiangxue)
11 years ago
Carsten Brandt
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
11 years ago
Qiang Xue
b393ea0d81
Fixes #2851 .
11 years ago
Qiang Xue
d79febfd04
removed space in log prefixes [skip ci]
11 years ago
Qiang Xue
8e11ad0360
refactored code to use Instance::ensure()
11 years ago
Qiang Xue
72c99663ff
Refactored container.
11 years ago
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
11 years ago
Qiang Xue
c6a946ec79
Fixes #497 : Removed `\yii\log\Target::logUser` and added `\yii\log\Target::prefix` to support customizing message prefix
11 years ago