Web application troubleshooting: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
* [https://docs.nginx.com/nginx/admin-guide/monitoring/logging/ Configuring Logging | NGINX Plus] on {{Win}} & {{Linux}}
* [https://docs.nginx.com/nginx/admin-guide/monitoring/logging/ Configuring Logging | NGINX Plus] on {{Win}} & {{Linux}}
* [https://docs.microsoft.com/zh-tw/windows/win32/http/iis-logging IIS 記錄 - Win32 apps | Microsoft Docs] on {{Win}}
* [https://docs.microsoft.com/zh-tw/windows/win32/http/iis-logging IIS 記錄 - Win32 apps | Microsoft Docs] on {{Win}}
Example command: This command is used to view the last few lines of the Nginx server's error log file.
<pre>
sudo tail /var/log/nginx/error.log
</pre>
* sudo: Execute with administrator privileges
* tail: Display the end portion of a file
* /var/log/nginx/error.log: Default path for Nginx error log file
You can add -f parameter to monitor the log file in real-time:


== OS level ==
== OS level ==

Navigation menu