Disclosed is an arrangement for determining an origin of a log. The arrangement comprises at least one imaging device coupled to a forest harvester, the at least one imaging device being operable to capture at least one image of a side of the log; a Global Positioning System (GPS) receiver that is operatively coupled to the forest harvester, the GPS receiver being operable to determine a felling location of the log; and a processor that is operable to process the captured at least one image and the determined felling location of the log to create an identification information for the log.