The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [log]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

How to override /vendor/magento/framework/Logger/Handler/system.php

I want to override this file vendor/magento/framework/Logger/Handler/System.php Basically I want to disable system.log and exception.log from var/log folder. I found that vendor/magento/...
1
vote
2answers
42 views

How to put log in observer Magento 2 [duplicate]

I am trying to put log in observer sales_order_save_after Whenever I put logger in the execute I can’t do any checkout it complains about guest checkout payment Is there any other way I could see ...
0
votes
0answers
11 views

Magento2: How to delete custom logs of previous dates before creating new one in database

I need to delete custom logs before creating new one in database and admin. Anyone have solution for this? Thanks
1
vote
0answers
30 views

Magento 2 log file is not creating to test Cron

my code is Vender/Module/etc/crontab.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:...
0
votes
1answer
31 views

Magento2 - Cron readiness check failure

Cron is not working properly showing error in /var/www/domain.com/var/log/update.log [2019-09-25 07:07:02] update-cron.ERROR: Cron readiness check failure! Found non-writable paths: /var/www/...
2
votes
1answer
37 views

how magento 2 generats and archives log files in file system in server?

I have been searching in internet for this question "how Magento 2 generate log files and make archive files when the day passes is there an cron or configuration in admin area so I can change it for ...
0
votes
1answer
70 views

/shell/log.php?region=%31… getting called

Cannot find anything in the internet about that. Here is whats comming in: 'REQUEST_METHOD' => 'POST', 'REQUEST_URI' => '/shell/log.php?region=%31&kunyuk=%31&MageShell=%31&xcv=%31&...
0
votes
2answers
31 views

Magento 2 - Create a log file in plugin that will print log when data is inserted in database

I have entered data in the database using object Manager in Model file itself. I want to print a log file from the plugin that will print the log of the last data that is inserted in the database.
0
votes
1answer
28 views

what happen if i delete system.log file in magento 2?can create new empty system.log file?

what happen if i delete the system.log file in Magento 2? can create a new empty system.log file? could anyone know?
0
votes
0answers
22 views

system.log from getFeedData() they are filling up my logs

Every time I am checking my system.log file I would always find the following warnings. ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 1: parser error : Space required after the ...
0
votes
1answer
37 views

magento 2.3 after enabling system logs unable to run any command

I have enabled system logs in magento 2.3.1 using command bin/magento setup:config:set --enable-debug-logging=true But, after enabling it, I am unable to run any command in terminal and getting ...
0
votes
0answers
22 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
76 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
160 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
174 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....
3
votes
3answers
572 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 ...
23
votes
6answers
2k 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() ...
1
vote
1answer
695 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
27 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
223 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
26 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/...
2
votes
1answer
171 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
29 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
58 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
25 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
30 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
36 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
512 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
12 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
41 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
21 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
33 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
396 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 ...
1
vote
0answers
61 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
307 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
42 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
149 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
473 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
382 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
156 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
166 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
1k 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
598 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
81 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
46 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
836 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.
1
vote
1answer
2k 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
73 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 ...
2
votes
1answer
258 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
123 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')...