SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
LogAddMessage Question

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
LogAddMessage Question
Author Message
Mike Niccum



Joined: 09 May 2002
Posts: 33

Post LogAddMessage Question Reply with quote

syntax:
LogAddMessage ("severity","message")

can I put a variable that I have defined somewhere in the "message" area of the LogAddMessage syntax?

Example that doesn't work:
LogAddMessage ("WARNING",HOST & " could not be contacted...")

Thanks,

Mike Niccum


Fri May 17, 2002 5:42 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7948

Post Re: LogAddMessage Question Reply with quote

Here is how you can do that

Dim( message, string )
Concat( HOST, " could not be contacted...", message )
LogAddMessage( "WARNING", message )

To add message to 24x7 job log use LogAddMessageEx

JAL supports only simple tokens and no nested statements
One line can contain only one operation

: syntax: LogAddMessage ("severity","message")

: can I put a variable that I have defined somewhere in the "message"
: area of the LogAddMessage syntax?

: Example that doesn't work: LogAddMessage ("WARNING",HOST &
: " could not be contacted...")

: Thanks,

: Mike Niccum

Fri May 17, 2002 9:36 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.