Administrator Guide
Collect Logs
Collect Logs: Apps & Services
Collect Logs: Hosting Services
Collect Logs: Integrations
Manage Logs
Send Logs for Analytics
SolarWinds Users & Orgs
Support and Security
What's New
The Go Programming Language or golang can log to Papertrail via three methods.
Log to a text log file(s), then transmit the log file to Papertrail using remote_syslog2.
Have the Go app transmit logs to Papertrail with the standard syslog package or a fork like srslog.
Call syslog.Dial with the hostname and port provided by Papertrail. For example:
import "log/syslog"
w, err := syslog.Dial("udp", "logsN.papertrailapp.com:XXXXX", LOG_EMERG | LOG_KERN, "myapp")
if err != nil {
log.Fatal("failed to dial syslog")
}
w.Info("Any log message")
w.Err("Another log message")
Use the Go syslog package to send logs to a local syslog daemon (example). Have the local syslog daemon transmit the logs to Papertrail using Papertrail’s Unix/Linux syslog instructions.
The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.
Datasheet Help Contact @papertrailapp Legal Documents California Privacy Rights Software Services Agreement Privacy Notice GDPR Resource Center SolarWinds Subscription Center
© 2026 SolarWinds Worldwide, LLC. All rights reserved.