sudo vim /etc/nginx/sites-available/main ----- access_log /home/www/logs/access.log; error_log /home/www/logs/error.log; ----- sudo /etc/init.d/nginx restart
sudo apt-get install cronolog
rm /home/www/logs/access.log rm /home/www/logs/error.log mkfifo /home/www/logs/access.log mkfifo /home/www/logs/error.log
tail -f /home/www/logs/access.log | /usr/bin/cronolog /home/www/logs/access.%Y-%m-%d.log tail -f /home/www/logs/error.log | /usr/bin/cronolog /home/www/logs/error.%Y-%m-%d.log
Streamlit is a …
I bought M5Stac…