Log to both standard output and debug file