gwt-log has compile time log levels, in which case it compiles a different version of your application with more/less logging code than other permutations. This 6 x 2 multiplication is expected. This allows gwt-log to compile two versions of your application for example: - One that's heavy (large) and has lots of logging code for debugging purposes - One that's light (no logging code or very little) for production
gwt-log also has the concept of run time log levels, which allows you to log less even though you're running with a version which has more logging code. Think of a debugging version where you've temporarily lower the logging verbosity. Fred On Sat, Nov 28, 2009 at 4:39 PM, Mohamed Mansour <[email protected]>wrote: > Hi all, > > Usually my application compiles 6 permutations in around 30 seconds. I > added gwt-log to my project and added the following in the .gwt.xml: > > <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" /> > > The above addition to the xml file didn't change the permutation > count, and kept the compilation at around 30 seconds. > > But, if I add the following instead: > <inherits name="com.allen_sauer.gwt.log.gwt-log-OFF" /> > <extend-property name="log_level" values="DEBUG"/> > > It started to say 12 permutations and take around 1 minute to > compile. > > Can someone explain to me why that is valid, and why would it increase > permutations if I wanted to add ?log_level=DEBUG to the URL for gwt- > log. > > Thanks. > > -- > > You received this message because you are subscribed to the Google Groups > "gwt-log" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<gwt-log%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/gwt-log?hl=en. > > > -- Fred Sauer Developer Advocate Google Inc.1600 Amphitheatre Parkway Mountain View, CA 94043 [email protected] -- You received this message because you are subscribed to the Google Groups "gwt-log" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gwt-log?hl=en.
