Forum Post: RE: -errorstack parameter performance

  • Thread starter Thread starter Aliaksandr Tarasevich
  • Start date Start date
Status
Not open for further replies.
A

Aliaksandr Tarasevich

Guest
"You could write custom messages to the appserver log from within your CATCH blocks, via LOG-MANAGER:WRITE-MESSAGE(). Gives you full control of the diagnostic info you want to write out for a given type of exception." If you don't use -errorstack flag, by the time you caught an error in CATCH block you already lost stack trace (unless you add CATCH block on each level). Plus, if you write errors to logs and use load-balanced AppServers it takes time to find which AppServer was handling request. But, sounds like impact is not that big, since it doesn't consume anything unless error was thrown and even then a few K is not that big a deal. Thank you, Aliaks

Continue reading...
 
Status
Not open for further replies.
Back
Top