Upgrading to Grails 1.1

I spent about a day’s worth of work upgrading PatriotRoom.com from Grails 1.0.4 to Grails 1.1.

There were two areas that I had trouble with. The first was the plugins and was the easiest to overcome. I just had to reinstall them. The second however was logging which was completely revamped in Grails 1.1.

Personally I always had mixed results with logging settings in different environments. Turns out this site was the worst. However I like the new approach although it took the longest to get right. Some of it is because the documentation is a bit light in the area, especially with regards to custom appenders. I use two appenders, a daily rolling appender and an email appender for errors.

My file appender now looks like this:

appenders {
  console name:'stdout', layout:pattern(conversionPattern: '%d{ISO8601} [%p] -%X{user} %X{ip} # %X{sessionid} - %c{2} - %m%n')
  
appender new org.apache.log4j.DailyRollingFileAppender(name:'rollingfile', datePattern:"'.'yyyy-MM-dd",layout:pattern(conversionPattern: '%d{ISO8601} [%p] -%X{user} %X{ip} # %X{sessionid} - %c{2} - %m%n'), file:'../logs/patriotroom.log');
}

I still haven’t gotten the email appender working yet though.

Besides that, I also had to turn off the nice warning about the createLinkTo tag being deprecated. Guess I should fix those :)

The best part of the upgrade though is the –nojars build option. This is a real timesaver. My war file went from 25mb down to 6mb, which means my upload times went from just over 2 minutes down to 18 seconds. Now that is nice!



Don’t miss anything, subscribe!
5 Total TweetBacks: (Tweet this post)
  • en: To ATL or not to ATL?? 07/15/09 01:26am
  • en: @vesselproject which came first the Word or the thought? 07/15/09 01:26am
  • en: In the week I am there on and off, depending on Filming commitments and meetings. I try to be there as much as possible. Hit or miss ! 07/15/09 01:26am
  • en: @kenbuck It could either be a great retort or a one way trip to the doghouse. It's a good thing I'm not a marriage counselor. lol 07/15/09 01:26am
  • en: @xRaven I'd either need to switch provider or pay a lot of dough, and I don't feel like either. iPod Touch is nice surrogate right now :) 07/15/09 01:26am

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

interesting blog. thanks for it.

i didnt know of the -nojars option at all.

would be great to here from you,
when you have solved the problems
with the email-appender.

[...] This post was Twitted by MengJun – Real-url.org [...]

I really like this website , and hope you will write more ,thanks a lot for your information.
http://www.nfljerseysmalls.com

Coast dresses uk of 2011 summer full of vitality and color.

Our company has rich experience by cooperation of the larger hospitals and it is the leading level in the field of
Veterinary X-ray Unit,the most outstanding is
Veterinary Instrument.

This is a really good read for me, Must admit that you are one of the best bloggers I ever saw.Thanks for posting this informative article.
thomas sabo uk

End of tenancy cleaning However, sometimes you may face particularly stubborn stains which will need you to repeat these action. Do not worry, this is normal and you only have to do the same things again. Nothing different.

When all the stains are gone you will have to let your rugs or curtains dry well. If you are able to put them outside to the sun, this is best.

However, if you can afford to hire a professional post tenancy cleaning company this is even better. They guarantee best quality on good prices. post tenancy cleaning

Write a good article really is not easy, it takes a long, long time to write out.

http://www.wholesalehatsstore.com
Thanks for the marvelous posting! I genuinely enjoyed reading it, you can be a great author. I will ensure that I bookmark your blog and will eventually come back from now on. I want to encourage continue your great job, have a nice holiday weekend!

Thanks for the best blog.it was very useful for me.keep sharing such ideas in the future as well.this was actually what i was looking for,and i am glad to came here!pearl jewelry wholesale online; thanks for sharing the such information with us.subsequently,after spending many hours on the internet at last we are uncovered an individual that definitely does know what they are dicussing many thanks a great deal wonderful post.The freshwater pearl jewelry; thank

Hi, I must say that you have made some good points in the post. I performed searches on the topic and found most people will agree with your blog. Thanks for sharing this information.

Nice post, I can get more new and intereting informationfootballsell. I would like to creat
a bookmark for this favorite website.

But I now want to complete their studies. As cheap bears jerseys a rookie, I knew people that they deserved, but cheap nfl jerseys I still want David – Stern and Billy – Hunter say, shut down as soon Chicago Bears Jersey as the end of it.

You can create glory to your own appears with stylish curly hair wigs. many sorts of hairs wigs are offered within the lace front wigsmarket. person’s curly hair wigs and extensions can assist you in enjoying a healthy curly hair experience. you might perhaps conceal your curly hair thinning difficulties in an stylish method with these exceptional accessories. you must take appropriate proper care of these curly hair pieces. Here, during this article, i am going to allow you understand every one of the necessary strategies that could assist yourself to in getting appropriate proper care of lance wigthese exceptional accessories.1. you must often guard your person’s curly hair wigs from an greasy appearance. if perhaps your epidermis is oily, then you definitely have to often put on a wig hat just before producing utilization of these curly hair pieces

In my helpless time,Nike SB Dunks you give me help. SB Dunks Sincerely thank you!!!!!

In the end is what prompted monster headphones the auspicious air crew “tough stance” to refuse to perform or even “once begged” the tower command? Hidden behind beats dre us this kind of conflicting interests and trade secrets?

I performed searches on the topic and found most people will agree with your blog. Thanks for sharing this information.http://www.realsaleshop.com

Nook in the village in the mountains southwest of a large, low-lying, surrounded by mountains, can be described as beautiful and belstaff online pleasant weather, spring. Although the United States here, but have lived here the villagers are unaware, or even to complain about why they would give birth to a ghost in this corner nook of the mountain village?
Because this village remote and inaccessible areas, so the villagers can out of the nook is not much.
Has come, where residents are living
belstaff men and women hunting and farming life. Basically, life is worry-free.
… …

this article is good, i like it. support.

ykchunfan003

the women jerseys nfl mermaid silhouette focus on nfl kid jerseys the louboutin heels entire cutting which closely follows the curves from shoulder to the hem, and flares out buy louboutin into buy louboutin shoes a trumpet shape skirt at the kneed or just below. louboutin boots The fitted bodice and fishtail like skirt just create a dramatic and eye-catching look to the pink ugg boots bride on kid nfl jerseys her big day.

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information. Keep updating, looking forward for more posts. Thanks.
I am very happy to find this great and interesting website.

Very nice information shared by you. I was just searching this type of information and luckily I got it from your blog. I like your blog also. Keep it up.
http://www.nflshopvip.com
http://www.nhljerseysfactory.com
http://www.nflcheapest.com
http://www.mlbjerseycity.com

Radio headset working frequency Monster Headphones for 130 MHz to 200 MHz VHF, UHF 450 MHz 900 MHz, most cordless headphones work, can be in Monster Headphones dr. dre UHF transmission range of 100 meters, can around obstructions. Two vice or Cosplay Costumes more wireless/cordless headset deputy may be disturbed each

We are Your Online Moncler Jackets Store for Jackets Our Products whether it’s a motorcycle, bombers or a sport’s jacket we have it for you. You deserve durable high quality fabric and styles with a purpose. Since we supply those Moncler Vest like yourself with tough, reliable jackets and coats. You will enjoy the

Witty! I’m bookmarking you site for future use.

I have to verify with you here, which isn’t one thing I usually do! I take pleasure in studying a post that will make folks think. Also, thanks for permitting me to comment!
This is the best web blog I have read.

I love to read this type of stuff. Good and attractive information I take from it..Thank you for posting such a nice article

Discover the parts of the tube, that could be taken out or not, can make a big

First Look: Nike SB Dunk Low Pro – Entourage – ‘Lights Out’. Nike SB … Rumored to release next month is the highly coveted “Loon” Nike Dunk Low SB.

Quite good points!Thanks for your share!~~~

I am often blogging and i really appreciate your content. The article has really peaked my interest. I am going to bookmark your site and keep checking for new information.

getting a avid blogger, I’m delighted to decide other people getting initiative and contributing for that community. I just preferred to comment to show my appreciation for the article since it is relatively encouraging, and several writers do not obtain the credit history they deserve. I am specific I’ll be back again and will send out a few of my friends.

Its Pleasure to understand your blog.The above articles is pretty north face jackets on sale extraordinary, and I really enjoyed reading your blog and points that you expressed. I really like cheap oakleys to appear back over a typical basis,post a lot more within the topic.Thanks for sharing. Strange this post is totaly cheap oakley sunglasses unrelated to what I was searching google for, but it was listed on the first page. I guess your doing something right if Google likes you enough to put you on the cheap true religion jeans first page of a non related search. You certainly have some agreeable opinions and views. Your blog provides a fresh look at the subject. keep writing!!!

Interesting Blog, I like it

Wonderful! It is help for everyone! Thanks post!

I think this is one of the most vital information for me. And i’m glad reading your article to have a good read..Thank you to the author of this post..

welcome to (www.MallsJerseys.com)

We are specialized in high quanlity jerseys The latest and cheapest jerseys sells

We wholesale NFL MLB NHL NBA Women Youth jerseys

$17.89 a pcs,free shipping

If you Use Western Union Payment.We offer a 10% discount to the total of your order(shipping included).

any questions or needs are welcome ,we will endeavor to do best service for you.

thanks in advance.

Sorry, the comment form is closed at this time.