Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [logs]

The tag has no usage guidance.

1
vote
1answer
23 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. ...
0
votes
0answers
34 views

Craft keeps crashing

I have a craft install through arcustech, and for some reason the site keeps crashing. Arcustech has said they don't see anything causing it, but maybe having a look at the logs might help. I've ...
1
vote
1answer
31 views

Can I find log activity of who deleted a user and who edited an entry?

Is there a 'latest greatest' tool that I can add that has ongoing logging of disable/enable and delete/update activity of users or entries, etc..? Is there a good way to track this information before ...
1
vote
2answers
54 views

wp-login.php bloating log files every 20-30 seconds

Hi has anyone come across this before. It seems like a hack attempt on the site from a bot trying to access it as a wordpress site. This is obviously causing loads of errors in the log files bloating ...
1
vote
2answers
224 views

Craft CMS 3.0 - Log file?

I've been playing around with Craft 3.0 and am just about to develop a site using it. First thing I see when testing my frontpage template is "Internal server error", styled as a Craft error box. So ...
5
votes
2answers
384 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 ...
1
vote
1answer
46 views

TemplatesController error related to webfont!

I'm getting a very strange 404 error on my live site: Craft\HttpException: template = fonts/BlissBold-webfont.ttf in /path/to/mydomain/craft/app/controllers/TemplatesController.php:72 I've ...
1
vote
0answers
160 views

Debugging Craft search query: differences between craft.log and dump()

I'm new to Craft, coming over from ExpressionEngine to start doing maintenance on an agency-built Craft site, and I have what may well be a very basic question... please be gentle. We have a page ...
1
vote
3answers
244 views

Constant exception.Craft\HttpException.404 in logs

My log is getting hammered nonstop by the same error about every second (see image). Any idea what's going on here? Text is: Level error Category exception.Craft\HttpException.404 Message ...
0
votes
0answers
27 views

Log array to Plugin log? [duplicate]

How can I log an array to my plugin's log? I tried all of the suggestions here: Output array to Plugin::log but am still just getting back array. Am I missing something?
1
vote
1answer
180 views

See 404 error cause by some weird URI in index.php

I have Craft 2.6.2986 in an AWS EC2 environment. My site looks fine, but in my craft.log, I see a lot of 404 errors. We don't have phpmyadmin2011 or phpmyadmin2012 page. Does anyone know how they get ...
0
votes
0answers
269 views

Locally installed Craft 3 (beta) with MAMP gives permissions error for every new file that is added to /storage

Okay, so the easiest way for me to post this is to tell you what happened and what I already tested. I installed Craft 3 (beta) for the first time locally on a Nginx server in MAMP (not Pro). When I ...
3
votes
1answer
47 views

Unknown error in users section, after importing sql dump. Need help understanding logs

I am new to craftcms, and have installed a fresh copy. I am trying to create a lab version of our company's website. I installed the fresh install, then I imported the database from sql_dump file, ...
1
vote
0answers
205 views

craft_cache / Integrity constraint violation: 1062 Duplicate entry, Serialization failure: 1213 Deadlock

Noticing these errors a lot it my logs. Any idea why, or how to stop it from happening? Jan 27 15:02:58 myapp.com ool: myapp: [craft] [error] [system.db.CDbCommand] CDbCommand::execute() failed: ...
3
votes
2answers
295 views

GeneratePendingTransforms stuck every time

I get a stuck GeneratePendingTransforms task over and over again. In the first place, I don't know why any transforms are getting created at that point. By now, almost every image transform for every ...
1
vote
1answer
3k views

Getting PHP errors to log in Nginx/PHP-FPM

Under Nginx/PHP-FPM, I can't get PHP errors logged to craft/storage/runtime/logs/phperrors.log as they should be. Initially, errors weren't logging anywhere, but I discovered I needed: ...
2
votes
1answer
2k views

Craft Error Logging not doing anything?

I have a plugin called EducatorEntriesPlugin, and in the controller of the plugin, I have a method called actionExportEducator. In this method, I am logging an error using the code below, but when the ...
1
vote
1answer
258 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 ...
1
vote
1answer
719 views

Can't get Craft running on Heroku

I'm familiar with Heroku, but new to Craft CMS. In order to get a site running, I followed this tutorial: https://medium.com/@aj1215/craft-cms-on-heroku-79b991665b0b#.8b561b1b4 But the site isn't ...
3
votes
2answers
202 views

Craft CMS Log Rotation

Does Craft have somewhere where I can setup log rotation for the craft.log file, or do admins have to manage that manually?
1
vote
0answers
89 views

How to troubleshoot Inline Image Transform when there is no error logged?

Having some odd issues in 2.5 with image transforms (apparently). They are defined in the template, and saved to a Rackspace Cloud Files container. Often, we are getting a 500 Internal Server Error ...
4
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('...
0
votes
1answer
402 views

Javascript console logs in devMode not always showing?

Im only recently noticed that sites with devMode turned on add some helpful information about queries and other logs into the console. See this screenshot: but im also noticing that some of our ...
4
votes
1answer
308 views

Set logging path/file to use php://stderr

I'm rethinking our Craft environment/workflow. My idea is to accommodate disposable and/or multiple container (or server) environments. As a result I want to use log aggregation apps like papertrail,...