Kbase P146270: LogEntryTypes attribute does not work from .NET open client when using .NET config file
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  21/05/2009 |
|
Status: Unverified
SYMPTOM(s):
LogEntryTypes attribute does not work from .NET open client
The O4GLDefault entry type is only listed in the client log file
The entry below does not appear in the client log file:
Log entry types activated: DynamicApi,Broker,
FACT(s) (Environment):
Using a .NET application .config file
The correct entry types are listed in the .NET client log file when enabling tracing in the .NET code.
OpenEdge 10.1x
OpenEdge 10.2A
Windows
CAUSE:
Bug# OE00184865
FIX:
As a workaround, add the following code in the .NET application before any connection to the AppServer is made.
C# code:
Progress.Open4GL.RunTimeProperties.LogfileName = "log.txt";
Progress.Open4GL.RunTimeProperties.LoggingLevel = 7;
Progress.Open4GL.RunTimeProperties.LogEntryTypes = "DynamicApi,Broker";
Progress.Open4GL.RunTimeProperties.EnableTracing = true;