Help Center

Local Navigation

Environmental variables that the BlackBerry Enterprise Server Log Monitoring Tool uses

The BlackBerry® Enterprise Server Log Monitoring Tool sets the following environment variables before it performs any actions:

Variable

Description

LogMonitorEncoding

This variable specifies the type of encoding that is used for the file. For example, the value might be “ ” or UTF-8 encoded.

LogMonitorEvent

This variable specifies the event ID in the log file name.

LogMonitorAction

This variable specifies the action that the tool performs after it finds the requested event ID or text string.

LogMonitorText

This variable specifies the text string.

LogMonitorValue

This variable specifies the value that the tool returns that matches an event ID or text string.

Example: Accessing and displaying environmental variables on the screen

A batch script that accesses and displays environmental variables on the screen can include the following lines:

@echo off

echo "LogMonitorEncoding=%LogMonitorEncoding%"

echo "LogMonitorEvent=%LogMonitorEvent%"

echo "LogMonitorAction=%LogMonitorAction%"

echo "LogMonitorText=%LogMonitorText%"

echo "LogMonitorValue=%LogMonitorValue%"

Index


Was this information helpful? Send us your comments.