There are no records of who wrote the Gospel, only traditions. A record would be a document created either by the authors themselves, or by somebody with firsthand knowledge of authorship. Anything else is hearsay, rumor, and "tradition". And that is what we have. Traditions traceable back only to much later writers like Eusebius and Jerome, men who: a) were in no position to know who wrote the gospels, and b) were not above making things up.
But none of this matters, because the gospels are manifestly not eyewitness accounts. Luke even says as much in the prologue. An eyewitness account is a report of what the author personally saw and experienced. That is not what the gospels are, even on their face. They narrate things their putative authors could not plausibly have seen nor heard.
Did Matthew personally witness Abraham begetting Isaac? Of course not. Then that is not an eyewitness account.
What about the nativity, the flight to Egypt, the dreams Joseph had, the angelic message to Mary? What about the temptation in the wilderness, or the Transfiguration, or Jesus' agony on the Mount of Olives? The death of John the Baptist? The death of Judas? The conspiracy to betray Jesus? The discovery of the tomb?
Matthew narrates all of these events in his gospel. Which ones are you claiming he personally witnessed?