P
P
Pavel Dyukarev2018-08-29 06:53:00
Django
Pavel Dyukarev, 2018-08-29 06:53:00

How to see the error log on DigitalOcean + Django as on a local server?

Guys, tell me the command with which I can see the error log similar to those that we see on the local server?
Everyone knows the window, and if there is an error, write here:

System check identified no issues (0 silenced).
August 29, 2018 - 06:51:48
Django version 2.0.7, using settings 'Batareika.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

How to see the same thing on DigitalOcean?
I use DigitalOcean + Ubuntu + Django + Nginx.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-08-29
@PavelDuk

In production, the log should be output to a file. We cannot know exactly how your logging is configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question