Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Use localhost for the server log handler. #1079

Merged
merged 1 commit into from
May 21, 2017
Merged

Conversation

ChadSikorra
Copy link
Contributor

See: #1077. Had to create this new PR to target 3.3 specifically.

This is to set the server log handler hostname to something that's resolvable under both Linux and Windows. I'm not sure if this should stick to localhost or 127.0.0.1 (which is used elsewhere, such as the defaults in the parameters file). Being set to 0 on Windows causes a DNS timeout in stream_socket_client which there doesn't seem to be any control over.

@fabpot
Copy link
Member

fabpot commented May 21, 2017

Thank you @ChadSikorra.

@fabpot fabpot merged commit 8c680c7 into symfony:3.3 May 21, 2017
fabpot added a commit that referenced this pull request May 21, 2017
This PR was merged into the 3.3 branch.

Discussion
----------

Use localhost for the server log handler.

See: #1077. Had to create this new PR to target 3.3 specifically.

This is to set the server log handler hostname to something that's resolvable under both Linux and Windows. I'm not sure if this should stick to localhost or 127.0.0.1 (which is used elsewhere, such as the defaults in the parameters file). Being set to 0 on Windows causes a DNS timeout in `stream_socket_client` which there doesn't seem to be any control over.

Commits
-------

8c680c7 Use localhost for the server log handler.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants