Linked Questions
23 questions linked to/from Magento 2: Replacement for Mage::log method?
1
vote
1
answer
639
views
Unable to locate error log [duplicate]
I have a fresh installation on a hosted environment and setting up my store. In an attempt to see if email is working i tried using the contact us page (default). However i get an error "We can't ...
2
votes
1
answer
570
views
Magento 2.1:- Create Plugin but not working in custom module
I create plugin in my custom module to override the method collectCarrierRates($carrierCode, $request), below code is not working.
What mistake here?
app/code/Vendor/Shippingtest/etc/frontend/di.xml
...
0
votes
1
answer
6k
views
Magento2: What is the process to create custom logger [duplicate]
How I can create my own custom logger in magento2 ?
In Magento 1, We simply write own custom log with the following code:
Mage::log("Log Message", null, "log_file.log");
12
votes
2
answers
18k
views
Log settings location of Magento 2
I would like to know the below 2 locations of Magento 1 in Magento 2. Where can I find these 2 locations in Magento 2 Admin Panel ?
First location
Second location
7
votes
7
answers
30k
views
How to make sure your Magento 2.0 cron job is running
How do I make sure my Magento cron job is running? I setup cron per the Magento 2 installation instructions for the log files.
See screen shot (click to enlarge):
I am running Magento CE 2.0.2
...
3
votes
0
answers
5k
views
magento2: Enable and Disable log [duplicate]
How to enable or disable log in magento2, basically my question is about enable and disable logging system in magento2, how we can do that, also I want to know how to generate custom log in magento2?
...
4
votes
4
answers
16k
views
Magento 2 Simple Model Observer not working
May be "clarification" is one of the reasons, I am posting a query about Magento 2 Observer here.
As I am trying to execute an event observer on sales_quote_collect_totals_after event but it doesn't ...
89
votes
17
answers
157k
views
How to create custom Log file in Magento 2?
In Magento 1, it was common to segment logs into different files (to separate logs for payment methods, etc.). That's as easy as changing the $file parameter of Mage::log.
Magento 2 has changed to ...