Enable Greenlight Debug Logs for Android Studio or IntelliJ

Veracode Greenlight

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.

To enable and find your debug logs:
  1. From within 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 Veracode Greenlight actions.
  4. Find your greenlight.log file depending on which of these operating systems you use:
    • On Windows, the log file is in the Temp folder here: C:\users\username\AppData\Local\Temp\
    • On Linux, the log file is in the tmp folder here: /tmp
    • On macOS, run this command in your terminal: open $TMPDIR