renamed to termlog.js