]> git.proxmox.com Git - pve-docs.git/commitdiff
pct: mention the new --debug flag for obtaining logs
authorOguz Bektas <o.bektas@proxmox.com>
Wed, 24 Feb 2021 14:17:11 +0000 (15:17 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Feb 2021 10:59:38 +0000 (11:59 +0100)
and make minor changes like s/ID/CTID for clarity

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
pct.adoc

index ddc16e2f8148f044b4c3632570a20090dce486d8..66c1f0489e7172012fb8df38234b902f70e31ffa 100644 (file)
--- 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