Logging service tasks
(Deprecated) Write server log [level INFO], [level DEBUG], [level ERROR], [level WARNING].
(Deprecated) Log to file.
Logging (file or syslog)
Description: This service task writes the message log specified by the user into the Message Content field (mandatory). The message is then logged either:
to a file (if the
filepathparameter is specified)to the messages.log file (if the
filepathparameter is empty).
The message is recorded using a specific date/time format.
Triggerable: No
Variables:
Date Format
String
N
Format in which the date and time should be written in the log message. Example: yyyy-MM-dd'T'HH:mm:ss.SSS
Log level
Enum
N
Trace level to be logged. Choose one of the following options: Error, Warning, Info, or Debug. Deve corrispondere al valore del package in trace.xml: com.primeur.ghibli.workflow.bpm.boundary.services.log.BpmLogService=log-level See: https://docs.primeur.com/data-one-installation-manager/cli-and-configuration-files/dataone.sh-reference#dataone.sh-trace
Filepath
String
N
Full path and filename where the log will be written. If this parameter is left empty, the log will be written to the messages.log. Se filepath è vuoto e il livello di log è DEBUG o TRACE, il messaggio viene scritto anche nel file trace.log.
Message content
String
Y
Message to be logged. This field is mandatory and must contain the text that will be written.
Last updated