* [pve-devel] [PATCH v2 docs] pct: mention the new --debug flag for obtaining logs
@ 2021-02-24 14:17 Oguz Bektas
2021-02-25 11:09 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Oguz Bektas @ 2021-02-24 14:17 UTC (permalink / raw)
To: pve-devel
and make minor changes like s/ID/CTID for clarity
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
v1->v2:
* missed one s/ID/CTID
pct.adoc | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/pct.adoc b/pct.adoc
index ddc16e2..c064911 100644
--- a/pct.adoc
+++ b/pct.adoc
@@ -806,17 +806,23 @@ Obtaining Debugging Logs
~~~~~~~~~~~~~~~~~~~~~~~~
In case `pct start` is unable to start a specific container, it might be
-helpful to collect debugging output by running `lxc-start` (replace `ID` with
-the container's ID):
+helpful to collect debugging output by passing the `--debug` flag (replace `CTID` with
+the container's CTID):
----
-# lxc-start -n ID -F -l DEBUG -o /tmp/lxc-ID.log
+# pct start CTID --debug
+----
+
+or alternatively with `lxc-start` command (which will produce a log file):
+
+----
+# lxc-start -n CTID -F -l DEBUG -o /tmp/lxc-CTID.log
----
This command will attempt to start the container in foreground mode, to stop
-the container run `pct shutdown ID` or `pct stop ID` in a second terminal.
+the container run `pct shutdown CTID` or `pct stop CTID` in a second terminal.
-The collected debug log is written to `/tmp/lxc-ID.log`.
+The collected debug log is written to `/tmp/lxc-CTID.log`.
NOTE: If you have changed the container's configuration since the last start
attempt with `pct start`, you need to run `pct start` at least once to also
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [pve-devel] applied: [PATCH v2 docs] pct: mention the new --debug flag for obtaining logs
2021-02-24 14:17 [pve-devel] [PATCH v2 docs] pct: mention the new --debug flag for obtaining logs Oguz Bektas
@ 2021-02-25 11:09 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2021-02-25 11:09 UTC (permalink / raw)
To: Proxmox VE development discussion, Oguz Bektas
On 24.02.21 15:17, Oguz Bektas wrote:
> and make minor changes like s/ID/CTID for clarity
>
> Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
> ---
> v1->v2:
> * missed one s/ID/CTID
>
>
> pct.adoc | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-25 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 14:17 [pve-devel] [PATCH v2 docs] pct: mention the new --debug flag for obtaining logs Oguz Bektas
2021-02-25 11:09 ` [pve-devel] applied: " Thomas Lamprecht
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal