Implement printing logs in csfterm.