diff --git a/website/docs/9-cli-reference/uc_caddy_logs.md b/website/docs/9-cli-reference/uc_caddy_logs.md index a7c3e1e8..57952a3a 100644 --- a/website/docs/9-cli-reference/uc_caddy_logs.md +++ b/website/docs/9-cli-reference/uc_caddy_logs.md @@ -21,13 +21,16 @@ uc caddy logs [flags] -m, --machine strings Filter logs by machine name or ID. Can be specified multiple times or as a comma-separated list. --since string Show logs generated on or after the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. Examples: - --since 2m30s Relative duration (2 minutes 30 seconds ago) - --since 1h Relative duration (1 hour ago) + --since 1h45m Relative duration (1 hour 45 minutes ago) + Supported units: d (day = 24h), h (hour), m (minute), + s (second), ms (millisecond), + us/µs (microsecond), ns (nanosecond) --since 2025-11-24 RFC 3339 date only (midnight using client local timezone) --since 2024-05-14T22:50:00 RFC 3339 date/time using client local timezone --since 2024-01-31T10:30:00Z RFC 3339 date/time in UTC --since 1763953966 Unix timestamp (seconds since January 1, 1970) - -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. (default "100") + -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. + Defaults to 100, or 'all' when --since is set. --until string Show logs generated before the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. See --since for examples. --utc Print timestamps in UTC instead of local timezone. diff --git a/website/docs/9-cli-reference/uc_logs.md b/website/docs/9-cli-reference/uc_logs.md index 09af3b3f..9f8e4dcd 100644 --- a/website/docs/9-cli-reference/uc_logs.md +++ b/website/docs/9-cli-reference/uc_logs.md @@ -56,13 +56,16 @@ uc logs [SERVICE[/CONTAINER]...] [flags] -m, --machine strings Filter logs by machine name or ID. Can be specified multiple times or as a comma-separated list. --since string Show logs generated on or after the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. Examples: - --since 2m30s Relative duration (2 minutes 30 seconds ago) - --since 1h Relative duration (1 hour ago) + --since 1h45m Relative duration (1 hour 45 minutes ago) + Supported units: d (day = 24h), h (hour), m (minute), + s (second), ms (millisecond), + us/µs (microsecond), ns (nanosecond) --since 2025-11-24 RFC 3339 date only (midnight using client local timezone) --since 2024-05-14T22:50:00 RFC 3339 date/time using client local timezone --since 2024-01-31T10:30:00Z RFC 3339 date/time in UTC --since 1763953966 Unix timestamp (seconds since January 1, 1970) - -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. (default "100") + -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. + Defaults to 100, or 'all' when --since is set. --until string Show logs generated before the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. See --since for examples. --utc Print timestamps in UTC instead of local timezone. diff --git a/website/docs/9-cli-reference/uc_machine_logs.md b/website/docs/9-cli-reference/uc_machine_logs.md index ae414eb2..634eb86a 100644 --- a/website/docs/9-cli-reference/uc_machine_logs.md +++ b/website/docs/9-cli-reference/uc_machine_logs.md @@ -52,13 +52,16 @@ uc machine logs [SERVICE...] [flags] -m, --machine strings Filter logs by machine name or ID. Can be specified multiple times or as a comma-separated list. --since string Show logs generated on or after the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. Examples: - --since 2m30s Relative duration (2 minutes 30 seconds ago) - --since 1h Relative duration (1 hour ago) + --since 1h45m Relative duration (1 hour 45 minutes ago) + Supported units: d (day = 24h), h (hour), m (minute), + s (second), ms (millisecond), + us/µs (microsecond), ns (nanosecond) --since 2025-11-24 RFC 3339 date only (midnight using client local timezone) --since 2024-05-14T22:50:00 RFC 3339 date/time using client local timezone --since 2024-01-31T10:30:00Z RFC 3339 date/time in UTC --since 1763953966 Unix timestamp (seconds since January 1, 1970) - -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. (default "100") + -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. + Defaults to 100, or 'all' when --since is set. --until string Show logs generated before the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. See --since for examples. --utc Print timestamps in UTC instead of local timezone. diff --git a/website/docs/9-cli-reference/uc_service_logs.md b/website/docs/9-cli-reference/uc_service_logs.md index 57e53e00..04c6b932 100644 --- a/website/docs/9-cli-reference/uc_service_logs.md +++ b/website/docs/9-cli-reference/uc_service_logs.md @@ -56,13 +56,16 @@ uc service logs [SERVICE[/CONTAINER]...] [flags] -m, --machine strings Filter logs by machine name or ID. Can be specified multiple times or as a comma-separated list. --since string Show logs generated on or after the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. Examples: - --since 2m30s Relative duration (2 minutes 30 seconds ago) - --since 1h Relative duration (1 hour ago) + --since 1h45m Relative duration (1 hour 45 minutes ago) + Supported units: d (day = 24h), h (hour), m (minute), + s (second), ms (millisecond), + us/µs (microsecond), ns (nanosecond) --since 2025-11-24 RFC 3339 date only (midnight using client local timezone) --since 2024-05-14T22:50:00 RFC 3339 date/time using client local timezone --since 2024-01-31T10:30:00Z RFC 3339 date/time in UTC --since 1763953966 Unix timestamp (seconds since January 1, 1970) - -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. (default "100") + -n, --tail string Show the most recent logs and limit the number of lines shown per replica. Use 'all' to show all logs. + Defaults to 100, or 'all' when --since is set. --until string Show logs generated before the given timestamp. Accepts relative duration, RFC 3339 date, or Unix timestamp. See --since for examples. --utc Print timestamps in UTC instead of local timezone.