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 [log]

Questions about error and debug log files of Magento and logging in general

1
vote
1answer
21 views

I can't figure out this CSS / less issue that is blowing up my exception.log

Any idea why this keeps going nuts in my exception.log [2019-02-18 22:08:35] report.CRITICAL: .lib-font-size is undefined in /srv/public_html/var/view_preprocessed/pub/static/frontend/website/en_US/...
0
votes
0answers
13 views

Magento 2.2.5 - 2.2.7 excesive cron logging in system.log

Magento 2.2.5 brings excesive logging to system.log which can grow up to 100 - 150 MB in 1 month. This will obviously be a problem for many shops. There is an official response to this on github (...
0
votes
0answers
13 views

update.log so big

I'm using 2.3 one day my update.log will be 1gb ago. and i open this file showing this message. how can i fix it,thank you! [2019-01-31 17:00:02] update-cron.ERROR: Cron readiness check ...
0
votes
1answer
42 views

“Area code is not set” in var/log

I have this kind of error in logs that I have difficulties to understand. I found some infos on "Area code is not set" errors in CLI, but not on the frontend side. Have you suggestions ? {"0":"Area ...
1
vote
1answer
18 views

Magento2 : Recommended way to properly filter the logs?

Recommended way to properly filter the logs? It's like a log4j Java app with every logger active, so essentially a flood of useless chatter. Is there any way I can configure or manage what gets ...
0
votes
2answers
22 views

Magento 1.9 Impossible to log in on backend, said to be because of hosting space limitations. Is this true?

Magento 1.9 Impossible to log in on backend, said to be because of hosting space limitations. Is this true?
1
vote
1answer
31 views

magento 2 how to print log

After installing Magento 2.3, When I am trying to open the admin panel login screen is blank and my console contains an error as shown in the image. if anyone has a solution then please let me know. ...
1
vote
2answers
107 views

Fatal error: Uncaught Error: Call to undefined method log()

when i click on Add product, i get the above error in the pic. Can anyone please help me on this how to solve?
0
votes
0answers
10 views

Error 502 IP: 127.0.0.1 Passed Mini Gate

I'm creating a controller and in the middle of the development without change nothing this message below showed up in my logs with a 502 white screen: [2018-12-18 16:39:27] report.ALERT: Mini Gate -...
0
votes
1answer
30 views

Magento 1.9 create log for no-route

Is there anyway I can force Magento to create a log file that contains the offending script path that is causing a redirect to no-route?
0
votes
2answers
17 views

Magento 1 - Logging only works in backend

I am unable to log anything in the frontend. I added the following code in the index.php, just below Mage::run: Mage::Log('test from index.php', 7, 'test.log'); It is successfully logged if I reload ...
0
votes
1answer
19 views

How to log while product save in magento 2?

I am programmatically saving the products in Magento backend reading from CSV. How to log if SKU already exist or not if the product failure or success need to log in Magento. How to achieve this.
2
votes
1answer
98 views

Activity log - Magento Community

My problem is as follows: I have one Magento community site, hosted on a virtual machine. I have two environments: PROD and DEV. 1,400 + products have been deleted from my PROD store. My question ...
0
votes
0answers
22 views

Error level logging only

PSR 3 specifies these log levels 0 Emergency: system is unusable 1 Alert: action must be taken immediately 2 Critical: critical conditions 3 Error: error conditions 4 ...
1
vote
0answers
32 views

Rapidly increasing system log in magento 2

I have one Magento 2.2.4 website and used Template Monster Theme. but I am facing problem when any user accessing website continuously increase system log with below logs. [2018-09-27 08:06:27] main....
0
votes
1answer
86 views

Mage log is not working in Magento 1.9

My mage log is not working. I am using magento 1.9. I am also using wamp server so permission issues should not arise for the var folder. I first went to System > Configuration > Developer and ...
1
vote
0answers
28 views

Magento2 unable to load theme error with Custom Admin theme

I have created new admin theme and used in my custom module di.xml file like below: <type name="Magento\Theme\Model\View\Design"> <arguments> <argument name="...
2
votes
1answer
76 views

MySql error log location

I'm using Magento 2 and would like to know where the log files are for mysql. Are they inside my main magento folder or are they elsewhere. I know that the main log files for magento are in var/log ...
1
vote
1answer
137 views

Where to find Payment Log file in Magento 2?

I want to check if there is any failed transactions occurred on our site. I'm aware that this detail can get from Payment Log file but for my case, there is no Payment Log file is available under var/...
0
votes
2answers
131 views

Mage::log() will work for writing to system.log (sometimes) but not a custom file

I have a cronjob for Magento 1.9 running to test some functions, so naturally I want to log the results of these functions, and make sure they're running. Initially, I had the line Mage::log('Running ...
0
votes
2answers
56 views

How to clean magento logs in Magento 1.9?

I want to create script to cleaning magento logs. How can I do this?
0
votes
0answers
118 views

Illegal offset type in isset or empty Magento 1.9

I currently have some errors in my system.log that I can not solve, due to default Magento core files: 2018-07-31T08:55:56+00:00 ERR (3): Warning: Illegal offset type in isset or empty in /app/code/...
1
vote
0answers
435 views

Log Cleaning in Magento 2 periodically

I am trying to clean the log generated in var/log folder in magento 2 by cron job so that it can run periodically.I go through this link https://github.com/rakeshmagento/magento2-db-log-cleaner/blob/...
0
votes
1answer
192 views

Where to view all access raw logs?

Hi is there place where I can view all access to my magento server? I tried looking into /var/log but only see ssl.log which I thought that was it but when I visit my site I cannot see my activity ...
0
votes
0answers
20 views

Magento 2 creating duplicate log files

I think this started happening after upgrading to Magento 2.2 EE. In my var/log directory, I have 2 files that Magento has created that have duplicate content: system.log and support_report.log. If ...
0
votes
0answers
45 views

Send a POST after register sucessfull

I need to send the customer informations through a POST to another endpoint after registering him/her. I tried to create a module based in this SMS module (customer_register_success not triggered ...
0
votes
2answers
477 views

Error log reports when I log to admin

When I am trying to log in to the website admin panel I am receiving this error record number: 1186363524883. Please provide some solution.
0
votes
0answers
69 views

Logging not working

The log files (var/log/system.log and var/log/exception.log) exists and the folder var and all subfolders and files even have 777 permission, but the log file is not working. I already checked if ...
1
vote
1answer
689 views

Error log record number: 813600142036

I am trying to login and I'm getting Error log record number: 813600142036 Does anyone know what this means? Thank you in advance!
0
votes
1answer
62 views

Change logo from admin back-end and login dashboard

I am trying to change logo from Dashboard and Admin login page .Of course I tried all solution from stack overflow . but I am getting the below Error : error"Exception #0 (LogicException): Unable ...
0
votes
0answers
15 views

FireGento - No logs are shown

I installed FireGento. No logs are shown: The log files (var/log/system.log and var/log/exception.log) exists and even has 777 permission, but no log is shown in the backend. If I open the logfile ...
2
votes
1answer
60 views

Magento2 : Not able to Log Order Details when order is Placed

I am trying to print order details in Log /return JSON result when a new order is placed. Nothing is printing in System.log or in exception.log, Please check my code below, Let me know where I am ...
0
votes
1answer
55 views

Magento 2 - Make log file accessible from browser

I created a custom log file like this: $writer = new \Zend\Log\Writer\Stream(BP . '/var/log/my_oh_my.log'); $logger = new \Zend\Log\Logger(); $logger->addWriter($writer); $logger->info('TikTok')...
0
votes
0answers
27 views

Invalid Argument, Undefined Variable, Undefined Index Items

I am receiving errors in my var/log/system.log file as follows Blockquote 2018-06-06T14:01:58+00:00 ERR (3): Warning: Invalid argument supplied for foreach() in /home/public_html/app/code/local/...
0
votes
1answer
462 views

debug.log file is empty in Magento 2.2.x

After upgrading a site from Magento 2.1.x to 2.2.3, log output is no longer being written to var/log/debug.log. There was nothing in the 2.2.0 change log about this behavior.
0
votes
0answers
37 views

magento1.9: Strange log error /var/options

Magento 1.9.3.2, we just added a single drop down custom option on a simple product. The site seems to be working fine, but everytime our ad shows on Facebook and the customer doesn't come through, ...
1
vote
0answers
35 views

Magento 2 : Display log file information in an admin grid

Right now I'am logging a lot of informations about my webservices (duration , status , errorMessage) And I want to display it in a grid Ui-component like , in an admin tab I already created. How can ...
0
votes
0answers
31 views

Warning in Exception log

Magento\Framework\Exception\LocalizedException: The element 'checkout.cart.item.renderers' already has a child with alias 'virtual' <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
1
vote
1answer
648 views

Magento 2 Magento\Framework\Exception\LocalizedException through exception, but didn't track anything in error log

When applying laygered navigation filter in my Magento 2, In Developer Mode I got this error, 1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): sorry, something went ...
1
vote
2answers
260 views

Create and delete log files in Magento 1.9

I am creating log file for check either block of code is executing or not. I am using following code for create log file Mage::log('Inside block',null,"filename.log",true); Its working perfectly ...
0
votes
1answer
22 views

Can someone explain this entry in debug.log file?

I found this in debug.log file on my Magento ver. 2.1.8 store but don't really understand what it is saying. Can someone explain? http://lb1.i:80/)"],"tagsPattern":"((^|,)catalog_product_3666(,|$))|((...
1
vote
3answers
348 views

Magento 2 , How to create new folder in var/log?

I wanted to add custom log files in separate folders. I have created one helper to create log and calling every time that helper. Here is the helper file : <?php namespace Custom\Product\...
0
votes
0answers
123 views

How to override magento 2 base logger handler

I want to override Magento\Framework\Logger\Handler\Base. I created di.xml: <preference for="Magento\Framework\Logger\Handler\Base" type="Custom\Logs\Model\Handler\Logger"/> and created class:...
1
vote
0answers
52 views

Help me understand what this log means

I'm constantly getting this log in my var/debug.log file. I'm quite curious about this. I do not understand what it means. main.DEBUG: cache_invalidate: {"method":"GET","url":"http://127.0.0.1/...
0
votes
2answers
559 views

How to disable showing uncought exceptions in developer mode?

I switched to developer mode and I see nothing but uncought exceptions log instead of storefront. Something like this: Can I disable it somehow? To show my storefront in developer mode? I have ...
0
votes
2answers
309 views

Magento 1.9.3.4 check events fired by custom modules and time it takes to perform

In my magento site there are 40 + custom extensions. Page speed extremly slow did everything to optimize the frontend but no progress so i want to track all the events fire by extensions. I tried ...
2
votes
3answers
96 views

Run custom PHP file via Cron job

I am after taking over a Magento 2 site from another developer. Once a day they pointed their browser to a PHP script in the root directory that would create/update certain products. Instead of ...
0
votes
0answers
331 views

Installation is incomplete.%0 error log help (2.2.2)

Step 6: Install Installing... 0% Installation is incomplete. Check the console log for errors before trying again. [ERROR] ...
2
votes
1answer
51 views

magento 2 import logs

i'm having a problem importing additional_attributes for products. i have them formatted the way the export file looks, but when i import them, it shows import completed fine but does not update any ...
1
vote
3answers
397 views

Magento 1.9.3.7 the session id is too long or contains illegal characters

Looking at my log files: specifically the system.log file; I can see multiple entries of the following: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-...