Rubydebug logs get sent to /var/log/syslog rather than the default log path (/var/log/logstash/)

Logstash 5.2.2-1 installed from Elastic repos on Ubuntu 16

While troubleshooting an issue earlier I enabled rubydebug output like so:

output {
  elasticsearch {
    hosts => "localhost:9200"
  }
  stdout { codec => rubydebug }
}

I was expecting this to write to a log under /var/log/logstash where all the rest of my logstash logs are going. Nothing showed up though. I started to think that maybe rubydebug wasn't working as expected but then I checked /var/log/syslog and saw that it was writing to that log.

It seems as if enabling rubydebug has caused these logs to get written to syslog rather than using the default log path where everything else goes. Am I doing something wrong here or is this a bug that should be reported?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.