You can just use a simple file and save it there.
It can also get better statistics. Like map's name, current message log time & players, results and even count all winings of both teams and retrieve a specific win ratio & the percentage of wins.
Personally I would go for the magical fopen