We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [logs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
2answers
1k views

Craft 3 plugins - Logging in a separate *.log file

In Craft 2, it was possible to have your plugin log to a separate file. For example, it would record items to a myplugin.log file. You would simply be able to do it like this... MyPlugin::log('Lorem ...
5
votes
2answers
1k views

Output array to Plugin::log

Just wondering if its possible to output an array to the Plugin::log call? Would be really handy to see if an error occurs, what a data object's values are! Tried the following: Plugin::log(array('...
1
vote
1answer
116 views

Craft 3 large log file sizes

I've noticed that Craft 3 log files in storage/logs e.g. web-404s.log and web.log don't seem to have a max size or rotate like with Craft 2. The web-404s.log file is nearly 10 megs for 1 site now. ...
1
vote
1answer
398 views

Craft files and DB out of sync

A client's site is currently showing this message: Craft does not support backtracking to this version. Please upload Craft 2773 or later. I understand how to fix it, but I don't understand how ...