mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-10 07:39:05 +02:00
Extend client troubleshooting with guide for Android (#146)
This commit is contained in:
@@ -104,6 +104,16 @@ docker run --rm --name PEER_NAME --hostname PEER_NAME --cap-add=NET_ADMIN --cap-
|
|||||||
-e NB_SETUP_KEY=<SETUP KEY> -e NB_LOG_LEVEL=debug -v netbird-client:/etc/netbird netbirdio/netbird:latest
|
-e NB_SETUP_KEY=<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
|
## 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.
|
You can run the agent in foreground mode to see the logs in the terminal. This is useful to debugging issues with the agent.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user