How to enable query logging in Spryker's Propel config?
UQ958DA4U
Posts: 232 π§π»βπ - Cadet
Hi! Another short and sweet question: How do you enable query logging in Spryker's Propel config?
Tagged:
0
Best Answer
-
A quick answer...add
$config[PropelConstants::PROPEL_DEBUG] = true;
to yourconfig_local.php
0
Answers
-
A quick answer...add
$config[PropelConstants::PROPEL_DEBUG] = true;
to yourconfig_local.php
0 -
Hint - you might want to switch off Jenkins, otherwise the logs will get noisy from the queue tasks
0 -
Thanks!
Where will Propel store the logs?0 -
Ah, I found it... it's in the Zed container under /var/log/spryker//propel.log
0 -
if youβre using docker/sdk you can also run
docker/sdk logs
and see the output, potentially even grep-ing what you want to see0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 65 Spryker News
- 879 Developer Corner
- 743 Spryker Development
- 84 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 33 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random