Home Forums Development Administering application logs

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #7353
      Aditya PhatakAditya Phatak
      Participant

      Hi,

      In NexJ Studio, we use console to monitor the logging of all the events taking place as we run the scheme consoles. But how about logging the events which occur while using the application?

      Lets say, I am navigating the NexJ Contact application and on specific views, I would want to examine the SQLs getting triggered or all the specific events being called.

      How is such logging handled? Do we need to specify certain attributes in the NexJ Studio tool to be able to enable and write these logs to a file?

       

      Regards,

      Aditya Phatak.

      0
    • #7367
      Ed ShawEd Shaw
      Keymaster

      To see specific actions that are triggered by some action it the UI, you can simply run the UI, clear the console, then – for instance – click the button in the UI.  The subsequent log items will have been generated by that action.

      You can instrument your code with (logger statements as described in a recent article I wrote https://community.nexj.com/2016/08/16/getting-control-console-logger/

      In this article you can see how to specifically output log statements for generated SQL.

      Additionally, you can simply set breakpoints in the UI or server code and run the debugger.

       

       

      1
Viewing 1 reply thread
  • You must be logged in to reply to this topic.