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

0
votes
1answer
19 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
11 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
15 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
57 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
20 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
27 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....
1
vote
0answers
23 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
54 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
56 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
91 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
44 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
94 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
266 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
100 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
14 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
44 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
218 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
59 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 ...
0
votes
1answer
434 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
52 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
14 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
53 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
50 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
19 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
370 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
28 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
25 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
471 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
216 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
21 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
298 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
107 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
48 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
399 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
0answers
37 views

Critical error in logs

I have found this error in my logs, and I have no idea how to fix it. Can anyone help? [2018-01-18 10:03:41] main.CRITICAL: exception 'Magento\Framework\Exception\LocalizedException' with message '...
0
votes
2answers
239 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
83 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
273 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
43 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
360 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-...
1
vote
1answer
1k views

Warning: include: failed to open stream: No such file or directory

I get this error in my system log but don't really understand what the problem is: 2017-12-05T14:22:42+00:00 ERR (3): Warning: include(Mage/Points/Block/Adminhtml/Customer/Edit/Tabs/RewardPoints/...
2
votes
2answers
1k views

Magento 2 custom logger 'Missing required argument $name'

I'm trying to create a custom logger, so I can log to a custom log file. I've looked at and followed multiple tutorials that all say the same, however I keep getting the same error. Tutorials that I ...
0
votes
1answer
302 views

huge size of debug.log file in Magento2

I have created a cronjob which will create or update a number of products(around 2000 products, runs cron two times in a day). When the cron runs and update the products data, huge amount of "cache-...
1
vote
0answers
39 views

Log all messages to syslog

Currently OOTB Magento 2 ee logs all messages to the .../var/log directory. Is it possible to reconfigure Magento 2 to log all log entries to syslog, either a local or remote rsyslogd instance?
1
vote
1answer
460 views

Error log not created

After Magento 2.2.1 CE upgrade I ended up situation that error report file is not created to /var/report directory. There has been an error processing your request Exception printing is disabled ...
2
votes
2answers
542 views

Deleting var/log folder in magento 1.9 version

Can we delete var/log folder from Magento-1.9? Will it lead to any problem?
0
votes
0answers
403 views

Magento 2.1.9 - System.log: “Attempt to load value of nonexistent EAV attribute '237' for entity type 'Magento\Catalog\Api\Data\ProductInterface'”

The message "Attempt to load value of nonexistent EAV attribute '237' for entity type 'Magento\Catalog\Api\Data\ProductInterface'" appears every time I load a product that has the custom attribute ...
1
vote
1answer
59 views

Suspicious access log entries

Wondering if anyone can help with this. I've seen the following crop up in my access logs over a few days. It's generated a 301 response but i'm wondering if it's anything to be concerned about? "GET ...
0
votes
0answers
313 views

How to disable debug.log

How to disable / turn off Debug.log file ? We dont have more space on our server Is that possible to delete the debug.log?