BookmarkSubscribeRSS Feed
pw182126
Fluorite | Level 6

Hi!

Just wondering how the server side logging is implemented in VA?

Is there a way to connect or reuse it from a DDC or a web content?

Currently for debug purposes we are using just a basic console.log(), but it is not ideal for a proper web development and maintenance.

Instead of developing "new wheel" or use third party libraries, I though maybe there is a way to use the Viya logging framework.

Any ideas, suggestions?

 

Cheers

Paul

3 REPLIES 3
AnandVyas
Ammonite | Level 13
Hi @paul,

Just like SAS 9.4, Viya also uses SAS logging facility as standard. You can find reference here in this link - https://documentation.sas.com/?docsetId=callogging&docsetTarget=p0um4c2d1nuopon1jm1054vkcoak.htm&doc...
pw182126
Fluorite | Level 6

Thank you! I saw this documentation. But it is about how to enable or use the existing sas logging.

 

We are running a self made JavaScript web application inside a VA Report.

What I try to understand what JavaScript framework is used in SAS Viya for the server side logging?

Is there an API/interface which I could use to save my own logs to the server.

I guess there is no way to use the native SAS logging for our purposes, so we might end up using some of these solutions:

http://js.jsnlog.com/

http://log4javascript.org/docs/quickstart.html

AnandVyas
Ammonite | Level 13
Oh I see, I couldn't find any such reference as well. I would suggest you to drop an email to SAS technical support - support@sas.com to check if this is supported or not.