You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/config/log.md
+5-36Lines changed: 5 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,45 +50,14 @@ The log level for error logs, indicating the information that needs to be record
50
50
51
51
Log DNS queries made by built-in [DNS clients](./dns.md) to the access log. Example log record: `DOH//doh.server got answer: domain.com -> [ip1, ip2] 2.333ms`.
52
52
53
-
::: tip TIP 1
54
-
Xray doesn't perform all DNS queries via its built-in clients. Therefore, enabling this option doesn't mean that all DNS queries performed by Xray will be logged.
55
-
:::
56
-
57
-
::: tip TIP 2
58
-
DNS queries made by built-in [DNS clients](./dns.md) are also logged to the error log (with "Info" level) even if this option is disabled.
59
-
:::
53
+
::: tip
54
+
1. Xray doesn't perform all DNS queries via its built-in clients. Therefore, enabling this option doesn't mean that all DNS queries performed by Xray will be logged.
60
55
61
-
::: tip TIP 3
62
-
FakeDNS client queries are never logged to the access log.
56
+
2. DNS queries made by built-in [DNS clients](./dns.md) are also logged to the error log (with "Info" level) even if this option is disabled.
57
+
3.
58
+
4. FakeDNS client queries are never logged to the access log.
63
59
:::
64
60
65
-
Below is a client config example that allows you to see DNS logs. No server needed.
0 commit comments