Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Logging with slf4j during development #5

Closed
mortalis13 opened this issue Oct 9, 2018 · 1 comment
Closed

Logging with slf4j during development #5

mortalis13 opened this issue Oct 9, 2018 · 1 comment

Comments

@mortalis13
Copy link
Contributor

Hi.
I just wonder if logger.info calls actually work on your side?
Cause when I build the plugin it doesn't print anything, only if I change level to error().

Tried to add log4j.properties config file, but didn't help.
Thanks.

@greensopinion
Copy link
Owner

Works fine for me if I do the following:

gradle eclipse -i

-i is the flag to enable informational logging.

Here's a sample of the output:

Adding Android source folders
file or directory '/Users/dgreen/mygit/epicrideweather-app-android/app/app/libs', not found
Adding Android classpath entry: SourceFolder{path='src/main/java', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='bin', excludes=[], includes=[]}
Adding Android classpath entry: SourceFolder{path='build/generated/source/r/debug', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='bin', excludes=[], includes=[]}
Adding Android classpath entry: SourceFolder{path='build/generated/source/buildConfig/debug', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='bin', excludes=[], includes=[]}
Adding Android classpath entry: SourceFolder{path='src/test/java', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='null', excludes=[], includes=[]}
Adding Android classpath entry: SourceFolder{path='build/generated/source/aidl/debug', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='bin', excludes=[], includes=[]}
Adding Android classpath entry: SourceFolder{path='src/test/resources', dir='null', nativeLibraryLocation='null', exported=false, accessRules=[], output='null', excludes=[], includes=[]}
Adding Android classpath entry: Output{path='bin/default'}
Adding Android classpath entry: Container{path='org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/', nativeLibraryLocation='null', exported=false, accessRules=[]}
Adding Android classpath entry: Library{path='/Users/dgreen/mygit/epicrideweather-app-android/app/app/build/exploded-aars/materialdatetimepicker-3.4.1.aar/classes.jar', nativeLibraryLocation='null', exported=false, accessRules=[], sourcePath='{file='/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.wdullaer/materialdatetimepicker/3.4.1/aab8363e306dc99f2eba01f5ae36ac06211568db/materialdatetimepicker-3.4.1-sources.jar', path='/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.wdullaer/materialdatetimepicker/3.4.1/aab8363e306dc99f2eba01f5ae36ac06211568db/materialdatetimepicker-3.4.1-sources.jar', jarUrl='jar:file:/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.wdullaer/materialdatetimepicker/3.4.1/aab8363e306dc99f2eba01f5ae36ac06211568db/materialdatetimepicker-3.4.1-sources.jar!/'}', javadocPath='null', id='null'}
...
Adding Android classpath entry: Library{path='/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/25.0-jre/7319c34fa5866a85b6bad445adad69d402323129/guava-25.0-jre.jar', nativeLibraryLocation='null', exported=false, accessRules=[], sourcePath='{file='/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/25.0-jre/30ade485699e7782cc2369b0e5d3d8e0bfc317c/guava-25.0-jre-sources.jar', path='/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/25.0-jre/30ade485699e7782cc2369b0e5d3d8e0bfc317c/guava-25.0-jre-sources.jar', jarUrl='jar:file:/Users/dgreen/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/25.0-jre/30ade485699e7782cc2369b0e5d3d8e0bfc317c/guava-25.0-jre-sources.jar!/'}', javadocPath='null', id='com.google.guava:guava:25.0-jre'}
Adding Android classpath entry: Library{path='/Users/dgreen/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.9/a86ce739e5a7175b4b234c290a00a5fdb80957a0/httpcore-4.4.9.jar', nativeLibraryLocation='null', exported=false, accessRules=[], sourcePath='{file='/Users/dgreen/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.9/5808b4637c385d939e901eee3dc5f1121fc73a3b/httpcore-4.4.9-sources.jar', path='/Users/dgreen/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.9/5808b4637c385d939e901eee3dc5f1121fc73a3b/httpcore-4.4.9-sources.jar', jarUrl='jar:file:/Users/dgreen/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.4.9/5808b4637c385d939e901eee3dc5f1121fc73a3b/httpcore-4.4.9-sources.jar!/'}', javadocPath='null', id='org.apache.httpcomponents:httpcore:4.4.9'}
...
Adding Android SDK classpath entry

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants