Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 31136

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

0 votes
2 answers
333 views

I can't make logs in Magento 2

I'm trying to log information using an Psr\Log\LoggerInterface instance, but for some reason var/log/system.log file doesn't exist and Magento can't create it; and when I create manually that file then … This is my code: class Cron { protected $logger; public function __construct(\Psr\Log\LoggerInterface $logger) { $this->logger = $logger; } public function logHello() …
Vinicio Ajuchan's user avatar
1 vote
1 answer
974 views

Cronjob can't create log files

it will generate a new log file using the date. … I'm using Aoe_Scheduler extension to run my cron manually and in this case the log file is created. …
Vinicio Ajuchan's user avatar