# Logstash stopped processing because of an error: (SystemExit)

**URL:** <https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit/274267>\
**Category:** Logstash\
**Created:** [May 27, 2021, 9:35pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit/274267 "2021-05-27T21:35:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soldider1621](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/soldider1621/32/89378_2.png) [@soldider1621](https://discuss.elastic.co/u/soldider1621)\
**Post date:** [May 27, 2021, 9:35pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit/274267/1 "2021-05-27T21:35:31Z")

</div>

Hi, I am trying to run the logstash service but it always stops due to error, below I share the log.

I can't find the reason for the error, has it happened to you?

If I use the program directly from command, it works without problems.

```auto
[2021-05-27T16:32:51,552][INFO][logstash.runner] Log4j configuration path used is: /usr/local/Cellar/logstash-full/7.12.1/libexec/config/log4j2.properties
[2021-05-27T16:32:51,558][WARN][logstash.runner] --config.debug was specified, but log.level was not set to 'debug'! No config info will be logged.
[2021-05-27T16:32:51,562][INFO][logstash.runner] Starting Logstash {"logstash.version"=>"7.12.1", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 11.0.10+9 on 11.0.10+9 +indy +jit [darwin-x86_64]"}
[2021-05-27T16:32:51,684][FATAL][org.logstash.Logstash] Logstash stopped processing because of an error: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
	at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:747) ~[jruby-complete-9.2.13.0.jar:?]
	at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:710) ~[jruby-complete-9.2.13.0.jar:?]
	at usr.local.Cellar.logstash_minus_full.$7_dot_12_dot_1.libexec.lib.bootstrap.environment.<main>(/usr/local/Cellar/logstash-full/7.12.1/libexec/lib/bootstrap/environment.rb:89) ~[?:?]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 24, 2021, 9:36pm UTC](https://discuss.elastic.co/t/logstash-stopped-processing-because-of-an-error-systemexit/274267/2 "2021-06-24T21:36:01Z")

</div>

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