Actions

Difference between revisions of "LOG - Send text to exchange’s log port (including date/time)"

From Zenitel Wiki

m (1 revision imported)
(Syntax)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{A}}  
+
{{AI}}  
 
The LOG command is used in the [[Event Handler]] to send customized log events to the [[System log]].
 
The LOG command is used in the [[Event Handler]] to send customized log events to the [[System log]].
 
== Syntax ==
 
== Syntax ==
  
  LOG <"free text">  
+
  LOG <"free text">
 +
 
 +
 
 +
Maximum 128 characters. If longer strings, the first 128 characters will be sent, the rest will be ignored.
  
 
== Example ==
 
== Example ==

Latest revision as of 12:02, 7 October 2020

AI.png

The LOG command is used in the Event Handler to send customized log events to the System log.

Syntax

LOG <"free text">


Maximum 128 characters. If longer strings, the first 128 characters will be sent, the rest will be ignored.

Example

LOG "Door A2 open"
The output to the System log will be: Dec 18 13:32:18 src@AlphaCom AlphaLog: N001.D065:.Exch: Door A2 open