Skip to main content
June 11, 2024
Question

Enable/Disable Web API logging feature from the UI button

  • June 11, 2024
  • 5 replies
  • 0 views

The user without being an Appian admin he/she has to enable or disable the WEB API logging in the UI by clicking the button.

I would like to know the possibility of this customized feature of WEB API request logging. 

    5 replies

    jayaprakashr0001
    June 11, 2024

    Hi [mention:06fd29ae006f499880f941f3e43d9386:e9ed411860ed4f2ba0265705b8793d05] ,

    1.If the user have the designer access and have the permission to the Web API yes user can enable/disable the radio button.

    2. If the user doesn't have the designer access he/she can't make changes for any of the objects.

    stefanhelzle0001
    June 11, 2024

    Can you share some details about the use case?

    June 12, 2024

    The external application can send the details to Appian via WEB API. While invoking WEB API, the Appian provides option to save the WEB API request/response in the logs by enabling the checkbox in the WEB API. The user with the administrator access can view the logs.

    Now the use case is,

    • For debugging purpose, the developer with the viewer access would like to access the WEB API request and response logs --> Is it possible?
    • The developer could enable/disable the Web API request/response logging (check/uncheck from the below picture) via customized button in the user interface. It means when the user clicks the button in the UI, then it should enable/disable the WEB API request/response logging automatically without logging into the designer --> Is it possible?
    stefanhelzle0001
    June 12, 2024

    1) I think yes, developers have access to log files by default. And these logs are common.

    2) No. This is a security sensitive feature and can only be toggled by the developer.

    What do you try to achieve with this? For what purpose would a normal use would want to enable logging?