There is a couple of ways to accomplish this.
I.) You can write log in each row like below. You probably can't have primary key in this way, or you could add 'rowno' or similar as autoincrement primary key.
id | m1 | m2 | m3 | log
1 0 2 2 A1332
1 0 2 2 A2321
1 0 2 2 B4435
1 0 2 2 A2212
2 0 1 0 C3322
2 0 1 0 A2231
II.) You could write each 'id' in one separate row (as you suggested it), but 'log' column should be big enough to store maximum possible 'log' values (plus separators).
id | m1 | m2 | m3 | log
1 0 2 2 A1332 <newline> A2321 <newline> B4435 <newline> A2212
2 0 1 0 C3322 <newline> A2231
III.) Add another table. In the parent table you store 'm1', 'm2' and 'm3'. In the child table you store 'log' values. Column 'id' is link between tables.
Parent table would look like this:
id | m1 | m2 | m3
1 0 2 2
2 0 1 0
Child table would look like this:
id | log
1 A1332
1 A2321
1 B4435
1 A2212
2 C3322
2 A2231