Set ts globally; use log package for Printf