simple log to console and file