I need to call this method from log_parser/tasks.py