changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Log version when logging configuration #510

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
e.g. 

INFO WroFilter:169 - wro4j v1.4.8 configuration: 
ro.isdc.wro.config.jmx.WroConfiguration@5083198c[
  cacheUpdatePeriod=0
  modelUpdatePeriod=0
  resourceWatcherUpdatePeriod=1

Similarly to how other libs log their versions
INFO StandardEngine:432 - Starting Servlet Engine: Apache Tomcat/5.5.27
INFO Version:37 - Hibernate Commons Annotations 3.2.0.Final

This may help when there is some classpath conflict (e.g. 2 versions of wro4j 
in classpath).

Original issue reported on code.google.com by lystoc...@gmail.com on 10 Aug 2012 at 8:59

GoogleCodeExporter commented 9 years ago
Great idea.

Original comment by alex.obj...@gmail.com on 10 Aug 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Fixed in branch 1.4.x.
The implementation version is logged just before the configuration.

Original comment by alex.obj...@gmail.com on 12 Aug 2012 at 10:43

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 12 Aug 2012 at 6:56