> For the complete documentation index, see [llms.txt](https://nightowl131.gitbook.io/aapg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nightowl131.gitbook.io/aapg/manual-dynamic-analysis/3.5-log-analysis.md).

# 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 %}
