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)

9 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