Consultor Eletrônico



Kbase P26612: How and where to set the EVTLEVEL environment variable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/02/2010
Status: Verified

GOAL:

How and where to set the EVTLEVEL environment variable

GOAL:

How and where to set the -evtlevel client parameter

GOAL:

How to do not get Progress messages in the Event Log

GOAL:

How to suppress message be written to Event Viewer log

GOAL:

How to stop Progress session to log messages in the Event Viewer

GOAL:

What does the EVTLEVEL environment variable do?

GOAL:

What does -evtlevel startup parameter do?

GOAL:

What does setting the EVTLEVEL environment variable to None do?

GOAL:

What does setting the startup parameter -evtlevel to None do?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
Windows

FIX:

The EVTLEVEL environment variable can be set to specify the level of information that Progress writes to Windows Application Event Logs. Valid values include:

?none: No Progress events are written to the Event Log.
?brief: Progress Error and Warning messages are written to the Event Log.
?normal: Progress Error and Warning messages are written to the Event Log along with any Progress message that is normally written to the log file (.lg). This is the default.
?full: Progress Error, Warning, and Informational messages are written to the Event Log along with any messages generated by the Message Statement.

The EVTLEVEL environment variable should be set as a system variable. Under Windows 2000, for instance, it can be set under:

Start > Settings > Control Panel > System > Advanced > Environment Variables > System variables

Define the variable as EVTLEVEL (i.e. in upper case), while the value should be in lower case, as above.

Alternatively, client Sessions can also be started with the -evtlevel parameter, e.g. -evtlevel none. This performs the same function as setting the EVTLEVEL environment variable. For WebSpeed, add this parameter at the end of the Agent startup parameters for the Broker definition.

Setting the parameter or environment variable to "none" only stops the processes from writing to the Event Viewer Log file. All error messages associated with the Progress database and it?s clients will continue to be written to the database log file or server/broker log files.