JDev 10.1.3.3.0: Trouble setting logging level

I have an application that I did not write that has a large amount of "info" level logging using "java.util.logging.Logger".
These logging statements look like this in the code:
log.info("My message");
There are only a few points in the application where I want to log statements for now, so I thought a quick way to suppress all the unwanted logging would be to change the severity of the items I want to see in the log as follows:
log.severe("My message");
Then, I went into the file [JDeveloper Root]\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\config\j2ee-logging.xml.
I changed all the level="XYX" statements to level="SEVERE", and restarted the application in JDeveloper.
I did not see my "log.severe" statements in the log.
Then I changed all the level="XYX" statements to level="ERROR:1", and restarted the application in JDeveloper.
I still did not see my "log.severe" statements in the log.
Any ideas on what I'm doing wrong?
Thanks,
Jonathan

Sorry...Operator error.
There was a conditional block around the logging statement that I didn't notice.
The logging is now working as expected.

Similar Messages

  • Setting log level of an appender

    I have 2 appenders in my logger.
    mergeLogger.addAppender( consoleAppender );
    mergeLogger.addAppender( fileAppender );
    to set the log level I use logger.setLevel( XX ) but this applies to all appenders
    Is it possible to set the logging level for each appender to different levels?

    Have you read the log4j documentation?

  • Setting logging level

    Hello folks;
    Is there a way to set the logging threshold for log messages sent to
    the weblogic log? I see where to adjust logging threshold for the
    standard out, but this level doesn't seem to affect the threshold for
    messages getting to the physical logfile. Unlike the log4j classes
    that seem to back up weblogic's logging ( I checked this out by
    looking in the weblogic.jar file); there are no methods for setting
    the logging threshold on weblogic's log classes.
    Cheers-

    I was mistaken about the log4j stuff being used under the covers.
    However, changing the logging threshold does not seem to affect
    messages sent to the log for my server. I just tested this again by
    setting the log level to "CRITICAL" in the console. Sure enough the
    messages sent to the standard out console are affected, but the
    messages sent to the physical log are not affected. I still get Info,
    Notice, etc messages there--- but nearly no messages to the standard
    out console.
    This was done on version 7.0 of weblogic.
    Cheers--
    "Jane Sampson" <[email protected]> wrote in message news:<3e5a84b4$[email protected]>...
    Hi Steve,
    If you set the logging level in the Logging tab on Server Configuration, it
    DOES affect the level of messages that are logged to both stdout and the
    physical log. Are you sure you are looking at the correct log file?
    Also, none of the weblogic classes use log4j. What version did you find
    log4j classes included in the weblogic.jar??
    Jane
    BEA Support

  • Can you set log level

    Does weblogic supply any way of setting the level of log messages that
    actually get written out to the log. So that if can turn off all my debug
    messages (e.g. LogServicesDef log, log.info(), log.debug())
    in production. I'm currently doing this with application level code

    Hi,
    Yes, weblogic does supply a way of setting the level of log messages that actually
    get written out to the log.
    This can be changed at Admin Console> idbmsDem
    o> Servers> myserver> Logging> General> Stdout severity threshold>
    Yuan Dai
    BEA Adapter Factory Group
    InfoGain
    408-355-6098
    "maurice lowenthal" <[email protected]> wrote:>Does weblogic supply any way
    of setting the level of log messages that
    actually get written out to the log. So that if can turn off all my debug
    messages (e.g. LogServicesDef log, log.info(), log.debug())
    in production. I'm currently doing this with application level code

  • Set Logging level for my application

    I've got an web-based application (ADF/EJB) and I'm trying to configure the logging level.
    I'm using the Java Logging API and no matter what I change, short of hardcoding a call in to set the global logging level, I can't alter what level it is using. I've tried changing in the WebLogic console and all that does is change the logging level for WebLogic. I've tried adding properties files but they don't seem to be read.
    Any Ideas?

    Hey Mark,
    I have no idea if this will help, but I was wanting to print out only my DML operations on commit and I got this post on my thread.
    You could probably do this with -Djbo.debugoutput=adflogger and then fuss with the logging configuration, or perhaps by turning on JDBC loggingDouble-click your View Controller project-> Run/Debug/Profile -> Edit ,and then type the -Djbo.debugoutput=adflogger into your Java Options, but I don't know anything after that.
    Good luck.
    Will

  • ILearnng - Setting log level

    Hi All,
    We are trying to read the log files for iLearning. However, after setting the
    CURRENT_LOG_LEVEL=5 (Debug) and restarting the IAS server, we are still unable to see any changes in the log files.
    We are currently viewing these log files:
    <iAS home>/opmn/logs/OC4J~oil~default_island~1
    <iAS home>/j2ee/oil/application-deployments/ilearning/oil_default_island_1/application.log
    <iAS home>/j2ee/oil/oil_default_island_1/global-application.log
    <iAS home>/j2ee/oil/oil_default_island_1/server.log
    None of these show any debug level info. Are there any other log files we need to look at?
    Thanks

    Contact Oracle Support. They will be able to help you.
    Regards Anders

  • Is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    is anyone else having trouble setting up messages with the new mountain lion software? I keep getting a notification that i cant sign in and it is saying, check network connection and try again, but i have full wifi bars, thanks, Justin

    Install this to get X11 functionality back in 10.8
    http://xquartz.macosforge.org/landing/
    Worked great for me and others.
    Jerry

  • Having trouble setting up my website. It's probably a silly mistake.

    So I've registered a domain and hosting plan with A Simple Orange which had a pretty good deal since I had a coupon for 20% off. I've tried using Joomla to manage my website, but I couldn't get the hang of it. So I'm trying out iWeb 09' now and just having trouble setting it up. I've gone to me.com and added my website and added the CNAME correctly I hope. Here is a picture. http://imgur.com/XI8Lw.png
    Next I opened iWeb and setup MobileMe in the preferences panel. I've tried publishing the information from iWeb to my website, but my home page doesn't change. You can see here at RyanSchefer.com that it's just plan

    No. Your CNAME setting is not correct. The CNAME and web.me.com are correct with web.me.com being your host. However, your domain name is incorrect - don't understand why you have put mobileme before it? You just enter either your domain name on its own so domain.com or you need to set up two separate CNAME entries, one being for www, CNAME, web.me.com and then one being @, CNAME, web.me.com. The @ stands for your domain name and the www is your sub domain.
    Try altering this and it should work okay.

  • Having trouble setting up email accounts in the mail app?

    Hi Apple community,
         I am having trouble setting up my email accounts with the osX mail application. I have two accounts, an outlook and my college email through google. When I try to add the outlook account the prompt says that it cannot connect to the server and when I try my college mail i get the following prompt.
    "Trying to log in to the Exchange server “autodiscover-s.outlook.com” failed. Make sure the email address and password you entered are correct, then click Continue."
    Please note that my college account is run by gmail and ends in murraystate.edu
    Thanks, Will.

    Hey will,
    okay for your college email. Heres what you do.
    Try adding your email and wait for the message to come up
    Trying to log in to the Exchange server “autodiscover-s.outlook.com” failed. Make sure the email address and password you entered are correct, then click Continue."
    Once it does, you will notice 2 extra boxes One says username and the other password. You will notice that the username will not have @murraystate.edu
    Add this and continue and this should now be added as an email account and should be able to receive emails as normal.
    For your outlook emails, I would recommend using the following article to set it up. It is fairly straightforward.
    http://howto.cnet.com/8301-11310_39-57602775-285/how-to-set-up-mac-mail-to-use-i map-for-outlook.com/
    Hope that helps.

  • Having trouble setting up FaceTime.   keep giving me Apple ID password

    having trouble setting up FaceTime.  trouble at verifying use I'd.  I have my email setup with different password since I have tw setup email.   my Apple ID has different password.   same email name.

    Hello sangjaimepark,
    Thank you for the details of the issue you are experiencing with activating FaceTime.  I recommend reviewing the article below for FaceTime activation issues.  When trying to activate FaceTime, you will need to use the email address you use for your Apple ID and your Apple ID password and not your email password:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Having trouble setting up network

    Hi guys,
    I just recently moved to a new house and am having trouble setting up the network with my airport extreme. There is a cable modem that is networked to the house so that every room has an outlet.
    I connected the airport to one of the outlets with my macbook and when I create network, I cannot connect to the internet wirelessly even though the macbook detects a network when I set it up with bridge mode. But hard wired through the router I can surf the web as I am doing right now.
    When I hit share an IP address, the internet does not work at all. It seems to work fine with my old netgear router, but would prefer using the airport.
    I've also reset the airport as well with still no luck. Any help would be appreciated. Thanks

    Have you tried powering down the modem for 5 min and then turning on with the ethernet connected to the WAN port of airport extreme?

  • Having trouble setting up e-mail on new iPhone 4s. I would like to sync with my outlook mail, contacts

    I am having trouble setting up my email and syncing my outlook calendar wiht my new iphone 4s.

    How do you connect to the internet?
    Most of the time, the problem lies here. You can try a couple of things. First, try only 3G or carrier data. Then, try only wifi. If that still doesn't work, your only other option is to try a different hotspot.
    I had the same problem before when I updated to iOS 4.3. I thought it was the update at first. I usually have the carrier data turned off because my plan doesn't have an unlimited provision for it. I forgot that I also switched ISPs from DSL to a visibility unit package - meaning I had to setup my laptop so that I could get wifi from it. I realized this when I visited a friends house that I knew I could connect properly before.
    My problem was with my laptop. It seems that Little Snitch blocks the ports being used for mail and push notifications. I haven't figured it out exactly since I still can't get email when I'm using my laptop connection. But, it works fine when I'm using ONLY 3G or both/wifi only if connected to a different hotspot.
    Hope that helps.

  • Having trouble setting up a linksys WRT54GS router with v...

    Having trouble setting up a linksys WRT54GS router with verizon DSL using a westell 6100F modem. the modem works fine by its self  but the router will not connect  to the internet when installed like the cd tells you to.
    online help and phone help has been less than helpful,  anyone have any Ideas?

    Ok I found " Installing the liksys wireless router with a westell 6100 modem" in the verizon troubleshooting guides. printed the instructions so I would'nt forget. step 1 open your web browser and enter http://192.168.1.1 in the address field.  PROBLEM it comes up with a login screen that I don't know how to sign into. tried the obvious stuff. cannot get past the login screen. I knew this sounded to easy to be true. anyone have any ideas? 

  • MSI X58 Pro - I'm having trouble setting up my first Raid 0 Array

    Hey guys!  I have an i7 920, X58 Pro, 3x2GB DDR3, Radeon 5850, 640GB WD Black (Windows 7 64 bit + applications) and 1TB Samsung F3 (backup) system and I'm having trouble setting up a raid 0 array.  I recently decided to purchase two additional 1TB Samsung F3 harddrives in order to create a raid 0 array, while still keeping my original two harddrives separate.  I installed the new harddrives today, installed the JMicron drivers that were on the drivers disk that came with my motherboard, went into the bios, and changed it from IDE to RAID.  I then went into the raid bios, selected the two new harddrives and selected raid 0, saved everything and tried to load Windows and Windows refuses to boot up.  I got an option to try fixing Windows but that didn't end up fixing anything.  Finally, I was forced to go back into the bios and switch it from RAID back to IDE just to get Windows to boot up again.  Does anyone know what I need to do in order to get this raid 0 to work?  Thanks a lot in advance for your help!

    Perhaps create a software RAID? You can do it in Windows through Control Panel --> Administrative Tools --> Computer Management --> Disk Management.
    A quick guide: http://www.softwaresecretweapons.com/jspwiki/windows-7-software-raid-disk-partition-and-volume-context-menus

  • I just got a new ipad 2 but I having trouble setting it up, can someone help me. thank yoy

    I just got a new ipad 2 but I'm having trouble setting it up, can someone help me?

    Please read Chapter 2.
    There have been some problems accessing pages on the Apple web site.  If the hyperlink gives you a "We're sorry" message, try again.

Maybe you are looking for

  • Messages vs Personal Email vs SMS and MMS Text Folders

    Last week, I updated my software for my BlackBerry 8310 on the AT&T network.  I have been having problems with the receipt of emails since.  I seem to been receiving every email twice, once in my personal email folder on the main screen, as well as i

  • RFC Lookup using Java Mapping program - Examples

    Dear Experts, I am working on a scenario which is using 1:N mapping. For deciding the target message I have to use RFC Lookup to call the backend ERP system and there are 2 ERP systems involved in this integration. As I am using Java Mapping and neve

  • Data-level security in user level

    Hi All, In our OBIEE we have created several application roles and assign them to the users. We set data-level security for each application role, and the filter does apply to all related users. But we want to do more specific data-level security for

  • Printouts with Adobe Reader 10.1. are offset for 1 digit, it all or parts look kryptic

    can someone help with that problem? Protected mode is off, print spooler is set to "Start printing after last page is spooled" , Quality is "normal". Drivers for different hp printers were updated or renewed. Problem occurs on few systems with same c

  • Problems Loading Home Page

    I use yahoo 7 as my home page I can't open the news features scroll down section to read.Also the add video does not load.....the arrows just keep on going around......it works in explorer. I don't know what to do...please can anyone help.I've tried