Hi everyone,
I’m working with Yii 3 and wanted to confirm the default logging behavior.
From what I understand, application logs are written to the runtime/logs directory by default. Is that the expected behavior in a standard Yii 3 application, or does it depend on the logger implementation (for example, Monolog) and its configuration?
If runtime/logs is not always the default, could someone explain:
- What the default log location is in a standard Yii 3 setup.
- Which configuration file or package controls the log file path.
- Whether there are any recommended practices for changing the log location in production.
I’d appreciate any clarification or references to the official documentation.
Thank you!