Initial work for labstats logger