> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug with user-space logs

Use the following logs to debug user-space issues through SSH on the device.

## **Generate syslogs**

* To verify whether the device generates syslogs, run the following command:
  > ```text theme={null}
  > cat /var/log/user.log
  > ```
* If the device doesn't generate syslogs, run the following command:
  > ```text theme={null}
  > tail -f /var/log/messages
  > ```
  >
  > **Sample log:**
  >
  > Apr 28 17:42:30 qcm6490 [daemon.info](http://daemon.info) avahi-daemon\[516]: No service file found in /etc/avahi/services.
  >
  > Apr 28 17:42:30 qcm6490 [daemon.info](http://daemon.info) avahi-daemon\[516]: Joining mDNS multicast group on interface lo.IPv6 with address ::1.
  >
  > Apr 28 17:42:30 qcm6490 [daemon.info](http://daemon.info) avahi-daemon\[516]: New relevant interface lo.IPv6 for mDNS.
  >
  > Apr 28 17:42:30 qcm6490 [daemon.info](http://daemon.info) avahi-daemon\[516]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
  >
  > Apr 28 17:42:30 qcm6490 [daemon.info](http://daemon.info) avahi-daemon\[516]: New relevant interface lo.IPv4 for mDNS.

## **Generate journalctl logs**

* To view the system journalctl logs, run the following command:
  > ```text theme={null}
  > journalctl -ef
  > ```
  >
  > **Sample log:**
  >
  > Apr 28 17:42:28 qcm6490 kernel: spmi-temp-alarm c440000.spmi:pmic\@2:temp-alarm\@2400: error -ENXIO: IRQ index 0 not found
  >
  > Apr 28 17:42:28 qcm6490 kernel: qcom-spmi-adc5 c440000.spmi:pmic\@2:adc\@3100: Invalid dig version read -19
  >
  > Apr 28 17:42:28 qcm6490 kernel: qcom-spmi-adc5 c440000.spmi:pmic\@2:adc\@3100: error -ENODEV: adc get dt data failed
  >
  > Apr 28 17:42:28 qcm6490 kernel: qcom-spmi-adc5 c440000.spmi:pmic\@0:adc\@3100: error -EINVAL: adc get dt data failed
  >
  > Apr 28 17:42:28 qcm6490 kernel: qcom-spmi-adc5: probe of c440000.spmi:pmic\@0:adc\@3100 failed with error -22
  >
  > Apr 28 17:42:28 qcm6490 kernel: dwc3 a600000.usb: Adding to iommu group
  >
  > Apr 28 17:42:29 qcm6490 systemd\[1]: First Boot Complete was skipped because of a failed condition check (ConditionFirstBoot=yes).
  >
  > Apr 28 17:42:29 qcm6490 systemd\[1]: Reached target Hardware activated USB gadget.
