stupid simple logging with stdio