-
I have successfully installed Log Viewer in my project, and it functions properly in the local development environment. However, after deploying the project to the server, Log Viewer fails to load the log files. Upon checking the log file, I found the following error: How can I resolve this issue so that Log Viewer can display the log files on the server? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
@NgYueHong does the apache/nginx on your server have access to read the log files? I think this might be a file permissions issue, or server setup. I can't help much there because there are so many ways you can set up the production server. If you could give more context about your production setup, perhaps I could help. |
Beta Was this translation helpful? Give feedback.
@NgYueHong Publish it and see what files are included.
https://log-viewer.opcodes.io/docs/3.x/configuration/including-excluding-files
Make sure it's just these two lines: