Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Server Method trace messages and errors

$
0
0

Hello,

I wrote a Server method associated with Item onAfterUpdate event and I need to trace messages/errors.

I used "CCO.Utilities.WriteDebug" to write a log file on Server but I'm not sure that it is the best choice because of concurrent access.

Is this choice anyhow valid ?

If the log file is already open and another call to the method is arised there could be an error when the second call tries to write messages to the same log file ?

Are there other ways/best practices to trace server method messages/errors?

Thanks, Claudio

 

 


Viewing all articles
Browse latest Browse all 1103


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>