During the production flow, the end surface of each individual stock is matched against the unique IDs that are stored in the database. The valuable information that is connected to each stock can then be used. By making full use of the information that is linked to each log, the sawmills can, for example, optimize the log rotation or verify that the log is turned in in an optimal way