W
W
wawa2018-12-18 11:50:07
Django
wawa, 2018-12-18 11:50:07

How do you prepare logging Django+uwsgi running in docker under systemd supervision?

My link: djnago -> uwsgi -> docker container -> systemd.
Janga writes his own logs, and uwsgi himself also has his own info. How to put it together? Naernyaka there are different formats - and then you will have to search for them. And how to organize the stream of logs? Through docker? systemd? somehow to involve syslog?
In general, questions are higher than the roof, and it would be better if you tell us how you cook it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2018-12-18
@OnYourLips

The logs should go to stdout/stderr , and external tools are already involved in collecting and parsing them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question