Tuesday, September 4, 2012

Weblogic disabling freemark debug messages

Recently we migrated our applications to Oracle weblogic server (OAS 11g) and we noticed that the application log file is filled with debug messages from freemark like the one below:
<Notice> <Stdout> <<BEA-000000> <DEBUG   13467   [freemark] ():
I searched for options to turn off freemark using the logger option and it did not work.  The reason could be that the application is not using and logging configuration (no log4j or jdk logging) and oracle diagnostic logging is picking up the logs.

We also have stdout redirecting to the log file.  We have the logger configuration set to debug level as it is the development environment.  However, I do not want the freemarker logging to fill up the log file.  The solution I ended up implementing was to create a log filter to disable the freemarker log messages.   I am not sure if this is the best way or not, but this is the only way I could turn off the freemarker debug message and leave the rest of the debug messages on.

Here is the log filter configuration.  The create a log filter click on the domain name on the weblogic console and go to Configuration->LogFilters
Here is the log file configuration that I used in the development environment. (For production environment, I would recommend setting the log levels to Warning so the log files are not clogged up with debug messages)

18 comments:

hektorhamelton said...

I completely resolved my question when I read this post, thanks to the author for the very detailed description. I wrote my review on the top cv review, you can go in and read. Thank you very much for your attention in your time.

Derek Lafortune said...

Thanks for your thoughts. It was helpful cause now i learned exactly why weblogic disabling freemark debug messages. I think you shoud post this information on Instagram where a large amount of users could see it and don`t forget to buy instagram likes and quickly boost their number.

Will Kolson said...

I loved your blog and I think you are an expert with coding the Techno Games. I am becoming a cyber-security lawyer and I have a dissertation to be completed on cyber laws. I will be hiring a professional who will provide Law dissertation writing services to me.

mike buxter said...

useful and productive article. thank you for the information provided. I am grateful to you and as a thank you I will share a resource pay someone to write an essay where I order term papers and essays. great and talented writers! I recommend them to everyone

dalltenoberhauser said...

What are the chances of getting a winning casino? - DrmCD
As a 영주 출장안마 casino operator, your chance of winning with jackpots 양산 출장마사지 is reduced 강원도 출장마사지 and 안성 출장안마 a large number of 김천 출장샵 casino games are accepted.

Tanjim said...

Hii,
This is Great Post.. for me, Thanks for sharing with us!!
Buy Real Facebook Live Stream Views
Buy Real Facebook Comments
Buy Facebook Video Views

buy dissertation said...

If you are a new customer, there are a few great options for you as well: you can select the best available writer (standard writer) https://topessaybrands.com/review/careersbooster/, top 10 (the highest-ranked writer in your discipline will be working on your assignment) or the advanced writer (you will get an expert writer in the chosen discipline).

Tara Root said...

Great article guys, i like it! Our cheap paper writer service also favours the students operating on a tight budget. Don’t stress about the money because we got you covered in all aspects. Enjoy super discounts and flexible prices from our authors.

whome2249 said...

And here and there there is an assistant where they will do any written work, write my abstracts, I’m not much different from this, especially when you need to do my paper for me on a topic and you need to use it

Theo Sanders said...

Good evening guys! If you are stuck and need term paper help, just say, “help me write my thesis,” and you will receive qualified assistance immediately. We guarantee all customers premium services that meet and exceed their expectations, without an ounce of doubt. Therefore, contact https://buyessay.net/ now and ace all your compositions stress-free through this paper writing service.

dry bulk trucking said...

If you're looking to improve the quality of your soil and achieve favourable outcomes for your plants and soil, hasten contracting is the perfect solution for you! We offer a range of soil modification services that are designed toSOIL MODIFICATION in Houston help you create the perfect environment for your plants, no matter what size or type of garden you have. With our help, you can achieve results that are both long-term and sustainable, so you can relax and enjoy your garden without having to worry about it anymore. Contact us today to learn more about our services!

sex honey uae said...

A natural aphrodisiac royal performance honey for sex that gives you energy and relief from erectile dysfunction and enhances both female arousal and male performance

Ramma Foundation Repair said...

If you're in need of a foundation repair Edmonton , then you've come to the right place. At Rammafoundation, we understand that accidents can happen and that your home is your most precious asset. That's why we offer high-quality repairs that will restore your home to its former glory. From metal roofing and gutter installation to wall and floor repairs, we have you covered. Contact us today to schedule a repair that meets your specific needs.

usmN said...

while ago, i was searching for the same issue that cause me damage on work but i got the right answer on stakeoverflow but now i can see it's the best solution, and you know; the good thing is, we are providing the best cheap towing company near me at less value than others

usmN said...

Kitchens are no longer just places where you cook your food - they're also homes to all sorts of smart devices. From ovens and microwaves to fridges and dishwashers, italian kitchen designs have revolutionized the way we cook.

shopify said...

Use new or current Microsoft licenses on the AWS stage and take benefit of the AWS Optimization and Licensing Assessment instrument to decrease costs and optimize your computer resources. modernize windows workloads

Tomasik said...

Thanks for the post http://casinoschileonline.com/ And here is important information

Queen said...

If you're ever in a bind and need help getting your car towed, then you should contact a company like Queens Towings. They offer Queens towings services that will get your car to the nearest mechanic or repair shop as quickly as possible.