# Capture logs Source: [https://docs.qualcomm.com/doc/80-70014-16/topic/capture_logs.html](https://docs.qualcomm.com/doc/80-70014-16/topic/capture_logs.html) User space and kernel audio driver logs can be used to identify issues. | **User space logs** | To capture user space
logs:

ssh root@ip-addr
mount -o remount,rw /
cat /var/log/user.log
Copy to clipboard


See
[User space logs](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-12/using_open_source_debug_tools.html#user_space_logs) for
detailed instructions. | | --- | --- | | **Kernel audio driver logs** | To capture kernel
logs:

ssh root@ip-addr dmesgCopy to clipboard



To disable kernel logs in a specific
file:

echo –n “file -p” > /sys/kernel/debug/dynamic_debug/controlCopy to clipboard | | **Dynamic kernel logs** | Dynamic logging is disabled by default. To enable it, add the
`CONFIG_DYNAMIC_DEBUG` kernel configuration,
recompile, and re-flash the device.



To enable audio dynamic kernel
logs:

ssh root@ip-addr
mount -o rw,remount -t debugfs none /sys/kernel/debug
echo –n “file +p” > /sys/kernel/debug/dynamic_debug/control
Copy to clipboard



See [Enable dynamic debug](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-12/debugging_linux_kernel.html#enable_dynamic_debug)
for detailed instructions. | **Parent Topic:** [Debug](https://docs.qualcomm.com/doc/80-70014-16/topic/debug.html) Last Published: Jul 15, 2024 [Previous Topic Debug](https://docs.qualcomm.com/bundle/publicresource/80-70014-16/topics/debug.md) [Next Topic Analyze collected logs](https://docs.qualcomm.com/bundle/publicresource/80-70014-16/topics/log_analysis.md)