The Nginx log that has been continuously left unrepaired

My AXT-1800 router has been in use for about a year, but there’s one aspect that has been consistently neglected: the Nginx Log. While it doesn’t affect the functionality, for those who strive for a warning-free experience, the annoying reminders are truly unbearable.

1. "cat: can't open '/var/log/nginx/access.log': No such file or directory"

Firstly, I have previously performed a complete reset of my router to ensure it’s on default settings. The Access log is set to be off by default, so why retain this UI interface? And even if it’s kept, could some minor adjustments be made to hide it? For instance, using "[ -f /var/log/nginx/access.log ] && cat /var/log/nginx/access.log".

2. "lua_code_cache is off; this will hurt performance in /etc/nginx/conf.d/gl.conf:6"

I attempted to change it to ‘on,’ resulting in even more error logs.

3. "Oops Log extractor (build Aug 00 2023 00:00:00).
   No logs present"

I’m not sure about this one either; it even appeared randomly without me pressing any buttons.

I hope that in the future, if GL.iNet decides to close their source code, they will pay more attention to these details. It would greatly contribute to an enhanced user experience.:blush:

1 Like