# How to extract swap data from a AtomicDEX mobile log file

Create a file named parse_logs.py and copy the code below into it.


To parse a log file named log_username.txt, use the command

python3 parse_logs.py log_username.txt

It parses the log file, creates two directories named "MAKER" and "TAKER", then creates files named <uuid>.json in the appropriate directory.