Commit f9015c0
authored
fix: confusing tls connection indicator (#747)
Currently, the log uses `🔓` to indicate a TLS connection, which is
confusing.
Since the lock in this icon is open, it appears inconsistent with the
expression of security.
To convey security, using a locked lock icon `🔒` seems more appropriate.
One piece of evidence is that the code in
https://github.com/pgdogdev/pgdog/blob/9afa9f6e126a7ac802aaf0a3d233d5d6221456cf/pgdog/src/net/tls.rs#L127
uses `🔓` to indicate TLS is disabled.
Regarding whether to use `🔓` as an indicator for non-TLS connections, I
welcome further input.1 parent fabf5ec commit f9015c0
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
0 commit comments