Replace system log with a simple printf