logstash-plugins / logstash-input-syslog

Apache License 2.0
37 stars 38 forks source link

Syslog plugin have issue with LOGSTASH_HOME variable being missing #9

Closed purbon closed 9 years ago

purbon commented 9 years ago

From the CI system, syslog is still having problems with the new changes introduced by #3111 in LS core.

error

Use `bundle show [gemname]` to see where a bundled gem is installed.
Using Accessor#strict_set for specs
NameError: uninitialized constant LogStash::Environment::LOGSTASH_HOME
    const_missing at org/jruby/RubyModule.java:2723
     pattern_path at /mnt/jenkins/rbenv/versions/jruby-1.7.16/lib/ruby/gems/shared/gems/logstash-core-1.5.0.rc4.snapshot2-java/lib/logstash/environment.rb:88
             Grok at /mnt/jenkins/rbenv/versions/jruby-1.7.16/lib/ruby/gems/shared/gems/logstash-filter-grok-0.1.10/lib/logstash/filters/grok.rb:217
           (root) at /mnt/jenkins/rbenv/versions/jruby-1.7.16/lib/ruby/gems/shared/gems/logstash-filter-grok-0.1.10/lib/logstash/filters/grok.rb:139
          require at org/jruby/RubyKernel.java:1065
          require at /mnt/jenkins/rbenv/versions/jruby-1.7.16/lib/ruby/gems/shared/gems/polyglot-0.3.5/lib/polyglot.rb:65
           (root) at /home/jenkins/workspace/logstash_plugin_input_syslog/logstash-input-syslog/lib/logstash/inputs/syslog.rb:1
          require at org/jruby/RubyKernel.java:1065
          require at /mnt/jenkins/rbe

More details at http://build-eu-00.elastic.co/view/LS%20Inputs/job/logstash_plugin_input_syslog/165/

purbon commented 9 years ago

Check with a fresh copy of the project and the error is there.