我们如何将访问的URL打印到error_log
我们希望错误log包括访问者调用的原始页面的URL(URI)。
用户访问网页(URL)。 该页面由多个PHP脚本生成 其中一个脚本会触发
日志中的错误,我看到触发错误的脚本名称。 但是我看不到访问者访问的网址是为了触发这件事。
我们该如何设置?
We would like the error-log to include the URL (uri) of the original page called by the visitor.
A user visits a web page (URL).
The page is generated by multiple PHP scripts
One of the scripts triggers an error
In the logs, I see the script name that triggered the error.
But I cannot see what URL the visitor visited to trigger this whole thing.
How can we set this up?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论