I want to print some logs for debugging and testing, but existing logs are massive, so I want to print my own logs to stderr:
go run main.go 1>/dev/null <
On Linux systems, you could also use syslog(3) facilities. By default, the underlying openlog(3) does not go to stderr, but this can be changed.
See Go package log/syslog.