Hitachi

JP1 Version 12 JP1/IT Desktop Management 2 - Asset Console Creating an Access Definition File Guide


$LOGMSG (output to the log file)

$LOGMSG outputs a specified message to the log file ASTMESn.LOG.

Organization of this page

Syntax

$LOGMSG(message-type,message)

Values

Note

If a message type other than E, EW, or EI is specified, the script will be interrupted.

Example

The following example shows the settings and the execution result when the message type E (error) is specified. As indicated under Execution result, text preceding the message is set automatically by Asset Console. For details about how to read the execution results, see the JP1/IT Desktop Management 2 - Asset Console Configuration and Administration Guide.

[SET_VALUE]
  MSG = 'Destination E-mail address is not specified.'
  $LOGMSG ('E', MSG)
Execution result:

0040519212834.673 00000594(00000664) KDAM2G14-E E-mail address is not specified.