A Python script to record PHP errors into MongoDB