An apparatus (10; 60; 70) for identifying and gluing a final edge of a log of web material, said apparatus comprising: an introducing track for introducing logs of web material into the apparatus; an introducing means having a plurality of blades, each blade being configured to transfer a said log of web material from a loading position adjacent the introducing track to an unloading position; a lower belt (166; 666) disposed on a first lower roller and a second lower roller, wherein the first lower roller is disposed adjacent the unloading position for the lower belt to bear a log of web material received from the introducing means; a gluing module disposed adjacent the second lower roller for applying glue to the log of web material, wherein there is a gap between the gluing module and the second lower roller; an upper belt disposed on a first upper roller and a second upper roller, wherein the upper belt is located above the lower belt and the gluing module and is movable at the same speed and in the same direction as the lower belt; an upper unwinding roller disposed coaxially with the first upper roller and having a diameter greater than the diameter of the first upper roller; a lower unwinding roller (143; 743) disposed under the upper unwinding roller and arranged such that a portion of the periphery thereof projects above the lower belt, wherein the lower unwinding roller is rotatable at the same speed and in the same direction as the upper unwinding roller; a first unwinding nozzle disposed near the upper unwinding roller with a blowing direction that is tangential to the log of web material when the log of web material touches the upper unwinding roller; an unwinding detector disposed downstream of the upper unwinding roller for detecting the final edge of the log of web material; and an unloading track disposed adjacent the gluing module for unloading a glued log of web material. an introducing track for introducing logs of web material into the apparatus; an introducing means having a plurality of blades, each blade being configured to transfer a said log of web material from a loading position adjacent the introducing track to an unloading position; a lower belt (166; 666) disposed on a first lower roller and a second lower roller, wherein the first lower roller is disposed adjacent the unloading position for the lower belt to bear a log of web material received from the introducing means; a gluing module disposed adjacent the second lower roller for applying glue to the log of web material, wherein there is a gap between the gluing module and the second lower roller; an upper belt disposed on a first upper roller and a second upper roller, wherein the upper belt is located above the lower belt and the gluing module and is movable at the same speed and in the same direction as the lower belt; an upper unwinding roller disposed coaxially with the first upper roller and having a diameter greater than the diameter of the first upper roller; a lower unwinding roller (143; 743) disposed under the upper unwinding roller and arranged such that a portion of the periphery thereof projects above the lower belt, wherein the lower unwinding roller is rotatable at the same speed and in the same direction as the upper unwinding roller; a first unwinding nozzle disposed near the upper unwinding roller with a blowing direction that is tangential to the log of web material when the log of web material touches the upper unwinding roller; an unwinding detector disposed downstream of the upper unwinding roller for detecting the final edge of the log of web material; and an unloading track disposed adjacent the gluing module for unloading a glued log of web material.