MOODLE2: Add log to oauth server