django / django/daphne

No error messagse using -u without directory for sock files

Open
#259 1 comment 0 reactions 0 assignees View on GitHub
enhancement exp/beginner
Dominant language
Python
Stars
2.7k
Forks
292
Avg merge
2d 15h
Merged PRs (30d)
3

Description

I was trying to upgrade our supervisor directive to use the one in the documentation, but forgot to check that the directory holding the `sock` files existed.

Supervisor logs were showing that the daphne processes exited and eventually failed with `(exit status 0; not expected)`, but I couldn't find any log messages explaining why (and increasing verbosity did not change anything). I tried pushing supervisor logs (stdout and stderr) to a file and they were empty. I was seeing the same behavior when I tried to run the command on the command line (exits, no messages) but wasn't sure if it was a fair comparison since it wasn't wrapped in the fcgi infrastructure.

Is an error messages supposed to be logged in this case and where should it be found?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.