mirror of
https://github.com/bcicen/ctop.git
synced 2024-08-30 18:23:19 +00:00
add tcp logging section to debug doc
This commit is contained in:
parent
bc08b85191
commit
f9d68d688d
@ -22,3 +22,16 @@ example output:
|
|||||||
15:06:43.883 ▶ INFO 008 collector started for container: 7120f83ca...
|
15:06:43.883 ▶ INFO 008 collector started for container: 7120f83ca...
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## TCP Logging Socket
|
||||||
|
|
||||||
|
In lieu of using a local unix socket, TCP logging can be enabled via the `CTOP_DEBUG_TCP` environment variable:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
CTOP_DEBUG=1 CTOP_DEBUG_TCP=1 ./ctop
|
||||||
|
```
|
||||||
|
|
||||||
|
Messages can be followed by connecting to the default listen address:
|
||||||
|
```bash
|
||||||
|
curl -s localhost:9000
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user