Update get_logs.py

security