A Python script to record PHP error logs into MongoDB