Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpKernel][Logger] Document that Monolog handles the creation of log folder#21011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
javiereguiluz wants to merge2 commits intosymfony:7.3
base:7.3
Choose a base branch
Loading
fromjaviereguiluz:fix_20517

Conversation

@javiereguiluz
Copy link
Member

Fixes#20517.

@javiereguiluzjaviereguiluz added this to the7.3 milestoneMay 28, 2025
@carsonbotcarsonbot changed the title[HttpKernel] Document that Monolog handles the creation of log folder[HttpKernel][Logger] Document that Monolog handles the creation of log folderMay 28, 2025
logging.rst Outdated
log handler(s) to the path of the file to use (e.g. ``var/log/prod.log``).
If you prefer to store production logs in a file, set the ``path`` option of your
log handler(s) to the desired file path (e.g. ``var/log/prod.log``). This directory
is created by Monolog if needed, so Symfony applications running on read-only
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

If it is a read only filesystem, how can it be created?

alamirault reacted with thumbs up emoji
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Agreed, If I understand, this is useful when symfony app is readonly and logs folder is defined byAPP_LOG_DIR outside symfony app, for example/tmp/log. In this case symfony app keep readonly

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the review. I committed some updates.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark left review comments

+1 more reviewer

@alamiraultalamiraultalamirault left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

7.3

Development

Successfully merging this pull request may close these issues.

[HttpKernel] Let Monolog handle the creation of log folder for improved…

4 participants

@javiereguiluz@OskarStark@alamirault@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp