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: README.md
+15-7Lines changed: 15 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,16 +62,23 @@ Here is an example of what it looks like on my virtual machine:
62
62
63
63
## Log output
64
64
65
-
The log-style output above is written to stdout. It can also be output to files by setting the environment variable `CONTAINERDEBUG_LOG_DIRECTORY=/path/to/logs/directory`.
65
+
The log-style output above is written to stdout.
66
+
It can also be output to files by setting the environment variable
This file output will be output as _JSON-formatted logs_, in order to ease ingestion into a log aggregation system (such as [Vector](https://vector.dev/)). These files
68
-
will also automatically be rotated over time.
69
+
This file output will be output as _JSON-formatted logs_, in order to
70
+
ease ingestion into a log aggregation system (such as
71
+
[Vector](https://vector.dev/)).
72
+
These log files will also automatically be rotated over time.
69
73
70
74
## Data output
71
75
72
-
The containerdebug tool can write its collected data into a JSON dump, by setting the `--output=/path/to/dump.json` flag.
76
+
The containerdebug tool can write its collected data into a JSON dump,
77
+
by setting the `--output=/path/to/dump.json` flag.
73
78
74
-
This is intended to be queried with tools like [jq](https://jqlang.org/). However, note that the output format is currently not stable, and may change over time.
79
+
This is intended to be queried with tools like [jq](https://jqlang.org/).
80
+
However, note that the output format is currently not stable, and may
81
+
change over time.
75
82
76
83
For example:
77
84
@@ -185,5 +192,6 @@ For example:
185
192
186
193
## Continuous mode
187
194
188
-
If given the `--loop` flag, containerdebug will stay in the background and run on a fixed interval. By default it will run every 30 minutes, but a custom
189
-
interval can also be set (e.g. `--loop=30s`).
195
+
If given the `--loop` flag, containerdebug will stay in the background and
196
+
re-run on a fixed interval. The default interval is `30m` (every 30 minutes), but
197
+
it can be customized as desired (e.g. `--loop=30s`).
0 commit comments