This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/master by this push:
     new fbf92bfa1b Update writetolog.adoc
     new 9badb58c85 Merge pull request #3230 from Mattang-Dan/patch-20
fbf92bfa1b is described below

commit fbf92bfa1bf3867a4d95767d10d4b602df560c25
Author: Mattang-Dan <[email protected]>
AuthorDate: Thu Sep 14 05:52:47 2023 -0700

    Update writetolog.adoc
---
 .../modules/ROOT/pages/workflow/actions/writetolog.adoc       | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git 
a/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/writetolog.adoc 
b/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/writetolog.adoc
index 9a6b9b78f4..d9196a5f1c 100644
--- a/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/writetolog.adoc
+++ b/docs/hop-user-manual/modules/ROOT/pages/workflow/actions/writetolog.adoc
@@ -30,6 +30,17 @@ Typical use cases are logging variable values and 
additional, custom logging inf
 
 TIP: be careful when writing variables for (unencrypted) passwords or other 
sensitive information to the Hop logging system!
 
+If no fields are specified it will write out all fields to the log. If at 
least one field is specified it will only print out that field. Parameters and 
variables must be specified in the Log message section.  
+
+A Logging level must be set. Set the Log detail level to Basic if you want 
parameters and variables to be printed out.
+
+Example to print parameter or variable in Log message section: ``COUNTER: 
${COUNTER}``
+
+If no fields exist, you will have to use a “Generate rows” transform to create 
a dummy row in order to print variables or parameters.
+
+TIP: If an error stops anything from being written to the log, then disable 
the Hops that fail, add logging, and re-run.
+
+
 == Options
 
 [options="header"]

Reply via email to