Closed andrey-nakin closed 2 years ago
Hi @andrey-nakin, thanks for reporting!
Could you please provide the full stack trace for this IllegalStateException? Most likely it's caused by the real configuration issue.
The ERROR log line doesn't relate to IllegalStateException as it's just a log line. Log4j doesn't throw any exceptions in case sending failed, only writes an error to log. You can check the corresponding code here: https://github.com/loki4j/loki-logback-appender/blob/main/loki-client/src/main/java/com/github/loki4j/client/pipeline/DefaultPipeline.java#L269
Feel free to re-open with more details if my understanding is incorrect
If my Loki server in unavailable (for any reason), the Spring Boot application does not start due to the following error:
Can it be more tolerate to the network errors that can be temporary?