mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #356] 希望新增多日志查看 #201
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#201
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @oneisall8955 on GitHub (Apr 26, 2024).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/356
习惯每个site(每个域名)的日志独立,例如,foo.example.com与bar.example.com的日志分别为
/var/log/nginx/foo.access.log
/var/log/nginx/foo.error.log
/var/log/nginx/bar.access.log
/var/log/nginx/bar.access.log
但是当前只能查看/var/log/nginx/access.log和/var/log/nginx/error.log
@0xJacky commented on GitHub (Apr 28, 2024):
是这样的,当你在 server 块中配置了 access_log 或者 error_log 的时候,前端会出现日志按钮
@0xJacky commented on GitHub (Apr 28, 2024):
@oneisall8955 commented on GitHub (Apr 28, 2024):
谢谢解答,很抱歉,我之前只一直用高级模式,没注意到这里。
另外,如果在访问日志,错误日志中选取是否会更好点?
如下图中这里红色框的位置,添加上选取access_log,error_log指令的server

@0xJacky commented on GitHub (Apr 28, 2024):
这个可能要以后看看了,因为现在没有存储解析后的配置文件,所以目前这个版本是加不了的