- Log in to post comments
User bio
404 bio not found
Member since Nov 22, 2017
Posts:
Replies:
That's exactly what I am doing...using OnInit method:
Method OnInit() As %Status
{
SET tSC=$$$OK
// Add info to the log.
$$$LOGINFO("*******************************")
$$$LOGINFO("Run by:"_$Username)
$$$LOGINFO(" > "_$SYSTEM.Process.UserName())
...
Nothing works...
- Log in to post comments
Thank you but not sure about what you said.
I don't have a %request. It is just a Business Service doing nothing...and all I want is to get the username who enable it last time. Well, actually not last time. The service is normally off, so when is turned on, I want the username to be recorded in the log.
I have a function which actually run "write $USERNAME" and if I run it from Studio returns the username!
- Log in to post comments
Certifications & Credly badges:
Antonio has no Certifications & Credly badges yet.
Followers:
Antonio has no followers yet.
Following:
Antonio has not followed anybody yet.
Hi Francisco,
Have you tried to use a custom BS so you can check if the file really exists? Or at least to identify when exactly the error is being generated?
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…