Yii where is log




















Rock Rathore Rock Rathore 1 1 gold badge 5 5 silver badges 14 14 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete?

How are you going to work rollback transaction, for example? Stark80 commented on July 2nd 19 at Slightly not what I need, as this Doc Yii2 me on the previous platform to do, but I'll dig the classes.

As for the transaction, then what is the problem you want to undo them? In yii1 all about the same works. You need to write immediately, because parallel can run multiple scripts. In the case of transaction rollback, you need to remove from this file the requests in the transaction. How you do it - personally I can't imagine. Except that to not write to the file, and in a thread Redis.

And yet: dev. Thanks for the advice about the transaction here's the thing: the idea I have to write queries to log files in the database table, then the cron to run the script and switches between the bases, to comply with such requests, the option file I do not fit, and therefore do not want to use the standard logging feature of Yii, and how to dig them source and to inherit and to write for themselves, probably easier to abandon AR and then use query bilder and calm to write the right query in the right table, that's the idea actually - hillard.

The package is tested with PHPUnit. To run tests:. The package tests are checked with Infection mutation framework. To run it:.

The code is statically analyzed with Psalm. To run static analysis:. The Yii Logging Library is free software. It is released under the terms of the BSD License. Maintained by Yii Software. Skip to content. Star PSR-3 compatible logger www.



0コメント

  • 1000 / 1000