# 3.5 Log analysis

## 3.5.1 LIVE LOGGING

### ADB

```
adb shell ps | grep "<com.x.x.x-name>"
```

*or*

```
adb logcat | grep <process-ID-of-app>
```

*or*

```
adb logcat | grep "$(adb shell ps | grep com.x.x.x | awk '{print $2}')"
```

### INFO

{% hint style="info" %}
Check if the app created its own logfile: **/data/data/com.x.x.x/**
{% endhint %}

## 3.5.2 THINGS TO REPORT

{% hint style="danger" %}
**Sensitive data was exposed within logs/log-files (i.e: "user bob tried to login in with secretpw123")**
{% endhint %}
