What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi Team How can I check logs from logger in spryker I have used `use Symfony\Component\HttpKernel\Lo

U03TXRYL7U7
U03TXRYL7U7 Posts: 64 🧑🏻‍🚀 - Cadet

Hi Team
How can I check logs from logger in spryker
I have used
use Symfony\Component\HttpKernel\Log\Logger;

and using logger like this:
$this->logger->log($e->getPrevious()->getMessage(), LogLevel::INFO);

But where I can check the logs?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2022

    If you are using spryker/docker-sdk, please check your deploy file if you have dashboard defined. If yes, open its endpoint and there you will find a link to logs.
    Or simply docker/sdk logs and this will output incoming logs into cli.

  • U03TXRYL7U7
    U03TXRYL7U7 Posts: 64 🧑🏻‍🚀 - Cadet

    ok got it
    Thank you