You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works fine but, why ever, it looks like flink uses slf4j for logging, just at the startup. Fine, let's add a bridge for slf4j also:
<dependency> <!-- Redirect all slf4j logging to log4j2 -->
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.10.0</version>
</dependency>
Now the error in the beginning (cannot ).
BUT! Suddenly, the caching HttpClient gets an error:
org.apache.http.impl.execchain.RequestAbortedException: Request aborted
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:194)
at org.apache.http.impl.client.cache.CachingExec.callBackend(CachingExec.java:592)
at org.apache.http.impl.client.cache.CachingExec.execute(CachingExec.java:269)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at com.formulasearchengine.mathosphere.mlp.text.TexInfo.makeRequest(TexInfo.java:81)
at com.formulasearchengine.mathosphere.mlp.text.TexInfo.getIdentifiers(TexInfo.java:108)
...
Removing the logging bridge for slf4j solves this error, but produces a warning in the beginning.
The text was updated successfully, but these errors were encountered:
* Change loglevel to INFO
* Redirect SLF4J to log4j2
Fix logging problems with slf4j
* Change in loglevel to INFO in src/main logging
* Take out SLF4J bridge (see #160)
So I changed, all loggings to log4j2. Essentially by adding 2 dependencies:
Since some other dependencies (for example flink) using log4j (not log4j2) we need to import the bridge.
Everything works fine but, why ever, it looks like flink uses slf4j for logging, just at the startup. Fine, let's add a bridge for slf4j also:
Now the error in the beginning (cannot ).
BUT! Suddenly, the caching HttpClient gets an error:
Removing the logging bridge for slf4j solves this error, but produces a warning in the beginning.
The text was updated successfully, but these errors were encountered: