Skip to content

Collecting logs for Support

To help troubleshoot issues, obtain the logs from your Codacy instance and send them to Codacy's Support:

  1. Download the logs of the last 7 days as an archive file with the name codacy_logs_<timestamp>.zip by running the following command locally, replacing <namespace> with the namespace in which Codacy was installed:

    bash <(curl -fsSL https://raw.githubusercontent.com/codacy/chart/master/docs/troubleshoot/extract-codacy-logs.sh) \
        -n <namespace>
    

    To reduce the size of the compressed archive file, you should retrieve logs for a smaller number of days by replacing <days> with a number between 1 and 7:

    bash <(curl -fsSL https://raw.githubusercontent.com/codacy/chart/master/docs/troubleshoot/extract-codacy-logs.sh) \
        -n <namespace> -d <days>
    

    You can also download the script extract-codacy-logs.sh to run it manually.

  2. Send the compressed logs to Codacy's support team at support@codacy.com for analysis.

    If the file is too big, please upload the file to either a cloud storage service such as Google Drive or to a file transfer service such as WeTransfer and send us the link to the file instead.

Last update: September 29, 2020