Skip to content

Commit

Permalink
Removed log unless there's an error.
Browse files Browse the repository at this point in the history
Updated shade version
  • Loading branch information
EazyFTW committed Apr 2, 2020
1 parent e7ccbbe commit c72badb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.3</version>
<version>3.2.2</version>
<executions>
<!-- Run shade goal on package phase -->
<execution>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/eazyftw/imgurapi/ImgurApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ private RetrofittedImgur create() {
client.interceptors().add(new ImgurInterceptor());

HttpLoggingInterceptor logging = new HttpLoggingInterceptor( );
logging.setLevel(Level.BODY);
logging.setLevel(Level.NONE);
client.interceptors().add( logging );


Expand Down Expand Up @@ -311,7 +311,7 @@ private class ImgurInterceptor implements Interceptor {
public com.squareup.okhttp.Response intercept(Chain chain) throws IOException {
Request request = chain.request();

log.fine( "API Call: " + request.url().toString() );
//log.fine( "API Call: " + request.url().toString() );
request = authService().buildAuthenticatedRequest( request );

com.squareup.okhttp.Response response = chain.proceed(request);
Expand Down

0 comments on commit c72badb

Please sign in to comment.