Questions tagged [log]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Database Unnecessary log Table - Magento2

To keep the DB optimized and clean, do we need to set up a cron to truncate the following tables? customer_log; customer_visitor; report_compared_product_index; report_event; report_event_types; ...
0
votes
6answers
65 views

how to empty .log file in magento 2?

how to empty .log file in Magento 2 from Terminal ? system.log exceptional.log debug.log
0
votes
0answers
18 views

How to log html outputs in Magento 2

I am trying to log the block html output to verify the html structure. I am trying with $this->_logger (Psr\Log\LoggerInterface) but not getting. Please advise.
0
votes
0answers
14 views
0
votes
0answers
21 views

Slow Query in Magento 1.9?

My Slow query log will print this query recursively: SELECT `e`.*, IF(at_name.value_id > 0, at_name.value, at_name_default.value) AS `name`, IF(at_is_active.value_id > 0, at_is_active.value, ...
0
votes
1answer
51 views

Huge db.log in Magento 2.3.3

I enabled the /var/debug/db.log with this: bin/magento dev:query-log:enable With two page loads in front end it generated 128025 lines. Is that normal?
1
vote
0answers
56 views

Implement Graylog in Magento 2.3 with GelfHandler

My Magento 2.3 installation came along with a GelfHandler.php class that sends messages to a Graylog2. The GelfHandler class looks like: <?php /* * This file is part of the Monolog package. * * (...
2
votes
2answers
41 views

Magento 2 - Table report_viewed_product_index slowed down after so many page views

The table report_viewed_product_index stores the page visits of every users against their user ids. After 1 year of user, when users have huge data of page views product detail page is slower for ...
0
votes
1answer
40 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
116 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
14 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
33 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
44 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
73 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 ...
1
vote
1answer
86 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
39 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
30 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?
11
votes
3answers
224 views

View product count not updating

There are 3 different tables that stores product viewed count report_viewed_product_aggregated_daily report_viewed_product_aggregated_monthly report_viewed_product_aggregated_yearly If I want to get ...
0
votes
0answers
39 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
75 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
26 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
138 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
179 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
255 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
629 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() ...
2
votes
1answer
1k 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
28 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 ...
1
vote
1answer
28 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
236 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
51 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
80 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
31 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
42 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
1answer
616 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
1answer
42 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 ...
2
votes
2answers
660 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
65 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
428 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
46 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
214 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
662 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
461 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
292 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
195 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/...
2
votes
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
721 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 ...
2
votes
1answer
135 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 ...

1 2 3 4 5