Overview
Contains a function that can be used to log a custom message that can be used by a designer/developer, to debug code for quicker development, and to log warnings, errors and informational messages.
Syntax: logmessage (level, message)
The function can be used to log a custom message. The function can be used in Appian where expression rules can be specified e.g. SAIL, node inputs and outputs.
What do "info", "debug" and "warn" do? When I just tested this (21.1), the only setting that actually gives me a log message is the "ERROR" log level.
"WARN" seems to have given an actual error message - "1 services were missing users."
"INFO" and "DEBUG" seem to do nothing.
Do you now what is the the correct label in appian_log4j.properties I have to set to INFO ?
Hi Mike,
I might be wrong but this must be due to the logging level set for your cloud/on-prem instance. By default appian sets it to WARN. If your instance has INFO level logs on then you might be able to use it. I faced similar issue but did not try to change the logging level