Airline pilots' flight hours vary a lot depending on the airline, type of operation etc. Who actually does the job of logging their flight hours? Do the pilots do that themselves after each flight or there is a system that does it for them?
At my outfit, both.
Pilots log their own hours in the logbooks and keep a rough mental track of hours flown to ensure compliance with Flight Time Limitation rules.
The airline will also log pilot hours to stay in accordance with FTL and compare rosters to actual hours flown. This also serves to create a legal record of who was flying the aircraft should that be required at a later date.
Many - including myself - use an electronic logbook that pulls the data from the airline, so no writing needs to be done.