Stack Exchange Network

Stack Exchange network consists of 175 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

0
votes
0answers
14 views

Magento 2.2.3 order listing page too slow in admin

I am using Magento 2.2.3 it is in production mode. The order listing page in admin loads very slow. I have been facing this issue since long. To debug this I have also tried enabling query log ...
-2
votes
0answers
17 views

Make Model Method access anywhere

I have a class which has a static method. Now I want this method to be access from any module, any class (controller, model, block, etc). The class namespace is Vendor\Module\Logger\Log. On other ...
2
votes
0answers
26 views

Notice: iconv(): Wrong charset, conversion from `MacRoman' to `UTF-16BE'

I am constantly getting this error/Notice on my system logs: Notice: iconv(): Wrong charset, conversion from `MacRoman' to `UTF-16BE' is not allowed in /data/vhosts/edgars/web/lib/Zend/Pdf/...
-1
votes
1answer
105 views

Magento 1.9.4.1 unable to add logs Mage::log() issue? [duplicate]

I have installed Magento 1.9.4.1 When I tried to add logs, log files not creating. I just want to ask is it a new feature of an updated version or is there any patches available for it?
1
vote
3answers
63 views

Magento2: how to debug in sales_order_place_after event

registration.php <?php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Hafiz_Sms', __DIR__ ); etc/events....
2
votes
2answers
316 views

Magento fails to create logfiles after installing patch SUPEE-11086

I noticed that magento does not create any new logfiles after installing SUPEE-11086. I tried it like this: Mage::log('test', null, 'test123.log', true); I tried to debug the static log function in ...
22
votes
5answers
1k views

Mage::log() not working on new Magento update (1.9.4.1)

After this new update (1.9.4.1), Mage::log() is not working. Apparently, it has something to do with Zend_Validate_File_Extension on line 819 at Mage.php where it checks if the file is_readable() ...
0
votes
1answer
55 views

Clearing database logs in Magento 2

We've recently migrated from Magento 1 to Magento 2 and it seems that there is a large amount of information in our database files. We'd like to try to mitigate this by clearing the log files but ...
0
votes
1answer
24 views

Magento2 : IncrementId value not resulting in an order

I want to load the data of an order with the incremental id after placing an order. I am getting the incremental id in the data array after placing an order, but cant load any orders with it. My ...
0
votes
0answers
91 views

After editing the product broken reference log errors are showning magento 2

i am facing this error after editing product from product grid or while loading product grid magento2. if anyone have any idea please guide me. [2019-02-20 10:43:06] main.INFO: Broken reference: ...
1
vote
1answer
22 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
76 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 (...
1
vote
0answers
26 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
49 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
20 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
28 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
32 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
319 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
36 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
18 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
0answers
24 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
212 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
49 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
204 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
36 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
104 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
258 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
272 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
104 views

How to clean magento logs in Magento 1.9?

I want to create script to cleaning magento logs. How can I do this?
1
vote
0answers
147 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
736 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
365 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 ...
1
vote
0answers
40 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
686 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
95 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
1k 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
68 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
20 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
96 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
82 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
37 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
587 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.
1
vote
0answers
44 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 ...
1
vote
1answer
959 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
332 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
24 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
414 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\...