V
V
vladislav9972021-09-27 13:46:10
symfony
vladislav997, 2021-09-27 13:46:10

Where are logs written in Symfony prod?

Can you tell me where the logs are written in Symfony prod? if in dev mode, then in var/log/dev.log, but if the mode is prod, then, logically, I don’t observe the prod.log file, and they also stop writing to dev.log. Where are they written in the same format as in dev.log?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2021-09-27
@vladislav997

Look at your configuration # config/packages/prod/monolog.yamlPerhaps you have nothing there, so it's not written anywhere. In general, read the documentation .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question