Skip to content

Psr logger debug method does not work by the default in developer mode #11509

@eralaz

Description

@eralaz

Psr logger debug method does not work by the default when you just install & switch to the developer mode.
To make that works store config switcher should be turned on (see attached img, by the default, it's turned off).

Preconditions

  1. Install Magento 2.2.0
  2. Switch to developer mode.

Steps to reproduce

  1. Install Magento 2.2.0
  2. Switch to developer mode.
  3. Use Psr logger debug method.
  4. File var/debug.log is not created.
  5. Until you turn on "log to file" boolean switcher in store configuration advanced developer debug section.

Expected result

  1. In developer mode Psr logger debug method should write logs to var/debug.log without addition switches in store config.

Actual result

  1. Happens opposite to expected result. It needs addition store configuring to make psr logger debug log to debug.log file being in developer mode.

screen shot 2017-10-17 at 09 05 06

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions