correct pipe syntax to log errors from go app