aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs/content/en/troubleshooting/logging.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/troubleshooting/logging.md')
-rw-r--r--docs/content/en/troubleshooting/logging.md56
1 files changed, 0 insertions, 56 deletions
diff --git a/docs/content/en/troubleshooting/logging.md b/docs/content/en/troubleshooting/logging.md
deleted file mode 100644
index 8879c1846..000000000
--- a/docs/content/en/troubleshooting/logging.md
+++ /dev/null
@@ -1,56 +0,0 @@
----
-title: Logging
-description: Enable logging to inspect events while building your site.
-categories: [troubleshooting]
-keywords: []
-menu:
- docs:
- parent: troubleshooting
- weight: 30
-weight: 30
-toc: true
----
-
-## Command line
-
-Enable console logging with the `--logLevel` command line flag.
-
-Hugo has four logging levels:
-
-error
-: Display error messages only.
-
-```sh
-hugo --logLevel error
-```
-
-warn
-: Display warning and error messages.
-
-```sh
-hugo --logLevel warn
-```
-
-info
-: Display information, warning, and error messages.
-
-```sh
-hugo --logLevel info
-```
-
-debug
-: Display debug, information, warning, and error messages.
-
-```sh
-hugo --logLevel debug
-```
-
-{{% note %}}
-If you do not specify a logging level with the `--logLevel` flag, warnings and errors are always displayed.
-{{% /note %}}
-
-## Template functions
-
-You can also use template functions to print warnings or errors to the console. These functions are typically used to report data validation errors, missing files, etc.
-
-{{< list-pages-in-section path=/functions/fmt filter=functions_fmt_logging filterType=include >}}