I am developing with Django (2.2) on Ubuntu using an Apache server. How can I show, and always update, the server log record?
By not using python manage.py runserver
the logs, the logs do not appear automatically in the terminal and, every time I want to look at the logs, I have to close and reopen the file to see it updated
To view the Apache log files in real time, what I use is
...if you want more than 10 lines, you can specify it with:
If you need the terminal you can always send it to run in the background and retrieve it later.
You can use the command
tail
with the argument-f
that it will refresh the file every time the file changes.