How to get Reports logs from server ?

When you log issues to QMetry Support by sending an email to qtmprofessional@qmetrysupport.atlassian.net, there might be times when QMetry Support would ask for Report logs from your server to investigate the issues. Here is how you can get logs from the server and provide it to QMetry Support.

Steps

Login to your Linux Report Server.

  1. Create a directory "capturedlogs" under /opt/
    • cd /opt/
    • mkdir capturedlogs
  2. Go to Report logs directory:
    • cd /var/lib/docker/volumes/spark_report_spark-apps/_data
    • Copy QMetrySparkLogs.log
    • cp QMetrySparkLogs.log /opt/capturedlogs/
  3. Go to batch directory and capture all the logs of given date :
    • cd /var/lib/docker/volumes/spark_report_spark-apps/_data/logs/batch
    • cp FILENAME_1 FILENAME_2 /opt/capturedlogs/           (Replace other file names in this command)
  4. Capture cdc.log and all logs of the given date from the below path :
    • cd /var/lib/docker/volumes/spark_report_spark-apps/_data/logs/cdc
    • cp cdc.log FILENAME_1 FILENAME_2 /opt/capturedlogs/   (Replace other file names in this command)
  5. Capture _master_.log and all logs of the given date from the below path :
    • cd /var/lib/docker/volumes/spark_report_spark-apps/_data/logs/spark
    • cp _master_.log FILENAME_1 FILENAME_2 /opt/capturedlogs/   (Replace other file names in this command)
  6. Once the above logs are copied, go to /opt/ directory and zip the files to capturedlogs.zip
    • cd /opt
    • zip -r capturedlogs.zip capturedlogs/    

 Send this zipped capturedlogs.zip to QMetry Support by attaching it to your Support Ticket..