[1]: FCL.630.H [2] In most countries, pilots are required to maintain a logbook, per their government's aviation regulations.
[3][4] The European Aviation Safety Agency (EASA) provides a sample logbook format in which all flights should be logged.
In addition to the requirements of Part-FCL.050, whether a flight was cross-country should also be logged for the issue of an airline transport pilot licence (ATPL).
[5] In the United Kingdom, personal logbooks must be retained for at least 2 years after the date of the last entry.
Some pilots even use digital methods, such as recording this information in a spreadsheet, or using a specially-designed app.