diff --git a/src/pages/how-to/troubleshooting-client.mdx b/src/pages/how-to/troubleshooting-client.mdx index db238b9d..46452c65 100644 --- a/src/pages/how-to/troubleshooting-client.mdx +++ b/src/pages/how-to/troubleshooting-client.mdx @@ -104,6 +104,16 @@ docker run --rm --name PEER_NAME --hostname PEER_NAME --cap-add=NET_ADMIN --cap- -e NB_SETUP_KEY= -e NB_LOG_LEVEL=debug -v netbird-client:/etc/netbird netbirdio/netbird:latest ``` +### On Android +Enable the ADB in the developer menu on the Android device. +In the app set the the Trace log level setting - it is a checkbox in the advanced menu. +With the ADB tool, you can get the logs from your device. The ADB is part of the SDK platform tools pack (zip file). +You can download it from [here](https://developer.android.com/tools/releases/platform-tools). +Please extract it and run the next command in the case of Linux: +```shell +sudo adb logcat -v time | grep GoLog +``` + ## Running the agent in foreground mode You can run the agent in foreground mode to see the logs in the terminal. This is useful to debugging issues with the agent.