Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Asked for crendentials when downloading logs



When you try to download a log file from Designer Studio, you get a modal dialog asking for a username and password.

Error Messages

Not Applicable

Steps to Reproduce

  1. In Designer Studio, click Designer Studio > System > Operations > Logs.
  2. Try to download any of the logs available.

Root Cause

The application is asking for the credentials of a user known to the application server and granted the PegaDiagnosticUser role.  The exact credentials depend on what you've set up in your application server.  These can be located in various places - for example, in Tomcat it is in "tomcat-users.xml".


Choose one of the following approaches.
  • Enter the credentials each time you want to download logs.
  • If you want to allow developers to download logs without having to enter any credentials, perform the following local change:

Open web.xml for prweb and find these lines:

Restrict Diagnostic Data to administrative users
        <web-resource-name> Diagnostic Data</web-resource-name>
            <description> Serves diagnostic files generated by the JMX client
            <url-pattern> /DiagnosticData</url-pattern>
            <http-method> GET</http-method>
            <http-method> POST</http-method>
            <role-name> PegaDiagnosticUser</role-name>
            SMA Security
            CONFIDENTIAL  7

Remove or comment out the following lines from the web.xml content shown above:

            <role-name> PegaDiagnosticUser</role-name>
            SMA Security
            CONFIDENTIAL  7

Published September 25, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us