From 9cb1ba905eefb79c10f301da23f95cca10c5aa34 Mon Sep 17 00:00:00 2001 From: "Alexey A. Leonov" Date: Thu, 9 May 2024 15:47:13 +0700 Subject: [PATCH] added two versions how to show redirected logs --- app/node/faq/check-logs/page.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/node/faq/check-logs/page.md b/app/node/faq/check-logs/page.md index 8ff663a44..28b2fb859 100644 --- a/app/node/faq/check-logs/page.md +++ b/app/node/faq/check-logs/page.md @@ -21,6 +21,7 @@ docker logs --tail 20 storagenode ``` +{% tabs %} {% tab label="Docker for Windows" %} For CLI Docker install on Windows, if you would like to copy your logs to a file you can follow this link [](docId:EeyBBKEeuNK5oqkB4EyU0) or you can execute the following command in PowerShell, inserting your actual path to your log file instead of “pathtologfile” ```powershell @@ -28,8 +29,20 @@ Get-Content "pathtologfile" -Tail 20 -Wait ``` +{% /tab %} + +{% tab label="Docker for Linux/macOS" %} + For CLI Linux and MacOS install, if you have redirected your logs to a file, please use your preferred editor to view the contents of the log file. +Or your terminal: + +```linux +cat /path/to/the/log/file.log +``` + +{% /tab %} +{% /tabs %} {% /tab %} {% tab label="GUI Windows Install" %}