Looking for advice on light trails

Hey, i'm just wondering if anyone knows how to create persisting trails on a moving light, as seen in this video.

Any advice would be awesome as the only way i can think of would be layering duplicate clips at half opacity with a slight delay. This however, makes the footage pretty messy.

Thanks!