Sending Logstash's logs to C:/Program Files/logstash/logs which is now configured via log4j2.properties
2018-05-30 00:21:07,733 main ERROR Unable to create file C:/Program Files/logstash/logs/logstash-plain.log java.io.IOException: at org.jruby.ir.Compiler$1.load(Compiler.java:95)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:983)
at org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuperSplatArgs(IRRuntimeHelpers.java:974)
at org.jruby.ir.targets.InstanceSuperInvokeSite.invoke(InstanceSuperInvokeSite.java:39)
at C_3a_.Program_20_Files.logstash.logstash_minus_core.lib.logstash.runner.RUBY$method$run$0(C:/Program Files/logstash/logstash-core/lib/logstash/runner.rb:219)
at C_3a_.Program_20_Files.logstash.logstash_minus_core.lib.logstash.runner.RUBY$method$run$0$VARARGS(C:/Program Files/logstash/logstash-core/lib/logstash/runner.rb)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at C_3a_.Program_20_Files.logstash.vendor.bundle.jruby.$2_dot_3_dot_0.gems.clamp_minus_0_dot_6_dot_5.lib.clamp.command.RUBY$method$run$0(C:/Program Files/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132)
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:77)
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:93)
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:145)
at C_3a_.Program_20_Files.logstash.lib.bootstrap.environment.RUBY$script(C:\Program Files\logstash\lib\bootstrap\environment.rb:67)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.jruby.ir.Compiler$1.load(Compiler.java:95)
at org.jruby.Ruby.runScript(Ruby.java:828)
at org.jruby.Ruby.runNormally(Ruby.java:747)
at org.jruby.Ruby.runNormally(Ruby.java:765)
at org.jruby.Ruby.runFromMain(Ruby.java:578)
at org.logstash.Logstash.run(Logstash.java:81)
at org.logstash.Logstash.main(Logstash.java:45)
2018-05-30 00:21:07,843 main ERROR Null object returned for RollingFile in Appenders.
2018-05-30 00:21:07,843 main ERROR Null object returned for RollingFile in Appenders.
2018-05-30 00:21:07,858 main ERROR Null object returned for RollingFile in Appenders.
2018-05-30 00:21:07,858 main ERROR Null object returned for RollingFile in Appenders.
2018-05-30 00:21:07,858 main ERROR Unable to locate appender "plain_rolling" for logger config "root"
2018-05-30 00:21:07,858 main ERROR Unable to locate appender "plain_rolling_slowlog" for logger config "slowlog"
[2018-05-30T00:21:07,952][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"fb_apache", :directory=>"C:/Program Files/logstash/modules/fb_apache/configuration"}
[2018-05-30T00:21:08,061][INFO ][logstash.modules.scaffold] Initializing module {:module_name=>"netflow", :directory=>"C:/Program Files/logstash/modules/netflow/configuration"}
[2018-05-30T00:21:08,280][INFO ][logstash.setting.writabledirectory] Creating directory {:setting=>"path.queue", :path=>"C:/Program Files/logstash/data/queue"}
[2018-05-30T00:21:08,343][FATAL][logstash.runner ] An unexpected error occurred! {:error=>#<ArgumentError: Path "C:/Program Files/logstash/data/queue" does not exist, and I failed trying to create it: Errno::EIO - Input/output error - C:\Program Files\logstash\data\queue>, :backtrace=>["C:/Program Files/logstash/logstash-core/lib/logstash/settings.rb:476:in block in value'", "org/jruby/RubyKernel.java:1741:in
tap'", "C:/Program Files/logstash/logstash-core/lib/logstash/settings.rb:468:in value'", "C:/Program Files/logstash/logstash-core/lib/logstash/settings.rb:230:in
validate_value'", "C:/Program Files/logstash/logstash-core/lib/logstash/settings.rb:141:in block in validate_all'", "org/jruby/RubyHash.java:1343:in
each'", "C:/Program Files/logstash/logstash-core/lib/logstash/settings.rb:140:in validate_all'", "C:/Program Files/logstash/logstash-core/lib/logstash/runner.rb:264:in
execute'", "C:/Program Files/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in run'", "C:/Program Files/logstash/logstash-core/lib/logstash/runner.rb:219:in
run'", "C:/Program Files/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in run'", "C:\\Program Files\\logstash\\lib\\bootstrap\\environment.rb:67:in
'"]}
[2018-05-30T00:21:08,358][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit