log to the proper outout (stdout vs stderr)