Enable Greenlight Debug Logs for Android Studio or IntelliJ

Veracode Greenlight

Publication
Veracode Greenlight
Edition date
2023-01-27
Last publication
2023-01-27T02:46:14.597877

You can enable debug logs to get troubleshooting information for Veracode Greenlight. You can use this information to troubleshoot issues on your own or provide it to Veracode Technical Support.

Before you begin:

You meet the Greenlight prerequisites.

To complete this task:

  1. In your IDE, click Help > Edit Custom VM Options.

    A .vmoptions file opens.

  2. In the .vmoptions file, add this property: -Dgreenlight.debug=true.

  3. Save the file.

    A new greenlight.log file now logs your Greenlight actions. The file is located in:

    • On Windows: C:\users\username\AppData\Local\Temp\
    • On Linux: /tmp
    • On macOS, run this command in your terminal: open $TMPDIR