throwError() to be written in the manager's log file

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
CorinaBota
Posts:4
Joined: Wed Jun 17, 2020 9:47 am

throwError() to be written in the manager's log file

Post by CorinaBota »

Hi,

I am trying to implement some error handling. I used throwError and makeError functions:

throwError( makeError("", PRIO_WARNING, ERR_CONTROL, 0, sSubsystem, sMsg ) );

What I noticed is that the messages are written in the LogViewer and in the PVSSII.log file, but not in the manager's log file. Is there some config or debug flag that puts those messages in the manager's log file as well?

Thank you,
Corina

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: throwError() to be written in the manager's log file

Post by leoknipp »

When calling the function throwError() the standard error handler functions are called and data is written to the PVSS_II.log file.
With one of the Debug* functions in Control you can write information to the manager specific log file.
For details for the Debug* functions please have a look at the WinCC OA Documentation.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1