greenrobot / greenDAO

greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
http://greenrobot.org/greendao/
12.63k stars 2.89k forks source link

Disable verbose logging in plugin by default #570

Open Macarse opened 7 years ago

Macarse commented 7 years ago

I just upgraded my app to use the gradle plugin version 3.2.1 and I am seeing a verbose output.

Thanks

Macarse commented 7 years ago

@greenrobot-team ping?

greenrobot-team commented 7 years ago

Do you have an example as to what you consider verbose? -ut

greenrobot-team commented 7 years ago

No response. Closing. -ut

vyphan commented 6 years ago

I'm seeing dozens of these warnings in my build logs

[Verbose] Ignoring parser problem in XXXXX.java:3: Pb(390) The import android cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:5: Pb(390) The import com.google cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:9: Pb(390) The import org.greenrobot cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:10: Pb(390) The import org.greenrobot cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:11: Pb(390) The import org.greenrobot cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:12: Pb(390) The import org.greenrobot cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:20: Pb(2) Entity cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:23: Pb(2) Id cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:24: Pb(2) SerializedName cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:25: Pb(2) SerializedName cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:29: Pb(2) Transient cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:29: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:31: Pb(2) Generated cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:39: Pb(2) Generated cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:88: Pb(2) NonNull cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:89: Pb(2) NonNull cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:107: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:107: Pb(50) YYYYY cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:117: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:118: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:121: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:122: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:122: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:123: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:125: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:150: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:151: Pb(2) YYYYY cannot be resolved to a type.
[Verbose] Ignoring parser problem in XXXXX.java:151: Pb(50) YYYYY cannot be resolved.
[Verbose] Ignoring parser problem in XXXXX.java:151: Pb(2) YYYYY cannot be resolved to a type.
greenrobot-team commented 6 years ago

@vyphan Thanks. These are debug logs and can safely be ignored.

They should probably not be shown in production. -ut

blundell commented 9 months ago

Still logging as above in version 3.3.0

meyyappanv commented 7 months ago

@greenrobot-team thanks for labeling this as enhancement. Are there chances that this Will this be planned for the near future?

greenrobot-team commented 7 months ago

@meyyappanv Not actively working on this project (instead on ObjectBox), so if at all this may take a while.