# Prevent plugin restart

**URL:** <https://discuss.elastic.co/t/prevent-plugin-restart/173720>\
**Category:** Logstash\
**Created:** [March 25, 2019, 10:16am UTC](https://discuss.elastic.co/t/prevent-plugin-restart/173720 "2019-03-25T10:16:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhys\_Watkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rhys_watkin/32/42691_2.png) [@Rhys\_Watkin](https://discuss.elastic.co/u/Rhys_Watkin)\
**Post date:** [March 25, 2019, 10:16am UTC](https://discuss.elastic.co/t/prevent-plugin-restart/173720/1 "2019-03-25T10:16:52Z")

</div>

Use case:  
Logstash ingest from JDBC but misconfigured with the wrong credentials. If it fails, it'll fail forever so there's no point in Logstash saying `A plugin had an unrecoverable error. Will restart this plugin.`  
(In my particular case repeated failed DB logins locks the DB account...)

Question:  
Is there a way to prevent logstash from restarting the JDBC plugin and exiting completely?  
Note that I do not want to run logstash as a long-term service.

---

<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:** [April 22, 2019, 10:16am UTC](https://discuss.elastic.co/t/prevent-plugin-restart/173720/2 "2019-04-22T10:16:52Z")

</div>

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