How to prevent duplicate logging when using ODL Log Handler.

Hi,
I have created a custom Logger for the java classes in my project( using ADF/JDeveloper). I have defined the custom logger in the standard "logging.xml" file.
For this custom handler I am reusing the ODL Log Handler class "oracle.core.ojdl.logging.ODLHandlerFactory". I am re-using with another name i.e. creating an alias to the default ODL Log Handler to write the logs to my own log file since I am then able to change the log file path in the handler properties.
The problem I am facing is that ODL Log Handler class is writing to the standard ###-diagnostic.log file also apart from my custom log file. Also, the same logs are being written to the console also.
I want to store the logs only in my own custom log file and not in multiple locations. What is the way out?
Also, is it possible to write my own Log Handler class and not re-use the ODL Log Handler class i.e not re-use oracle.core.ojdl.logging.ODLHandlerFactory?
Regards

I have figured this out - because the logger's parent has a default ConsoleHandler. After removing the ConsoleHandler from the parent, there is no more cosole output ...

Similar Messages

  • How to prevent duplicate contacts when syncing iPhone 4S with PC

    Having problems with duplicate contacts when syncing iPhone and iPad with PC - suggestions?
    Thanks,

    Are you also using iCloud?

  • How to prevent duplicate photos when sync

    I have videos and pictures that I want to keep on my phone, however when I sync to nokia suite it will sync the same photos over and over. anyway to prevent this, or do I have to delete them from phone. Also,  same thing with duplicate contacts.
    What is the best way to transfer photos from Nokia suite to disc, or memory card. I have a ton of photos on Nokia suite and want to transfer them to a disc or memory card.

    Create a new folder on your desktop, download the picture files from the CD's, delete the duplicates.
    As I see it, you now have 2 options:
    Burn new CD's or a DVD from the desktop folder as your source, and use the  Editor & Organizer - or
    Use Editor & Organizer, using the desktop folder directly
    Suggest that you stick to one of these options for this group of photos so as not to confuse the path in Organizer.

  • How to prevent re-login when switching in the application between different module in 6.1.1.1.11?

    How to prevent re-login when switching in the application between different module in 6.1.1.1.11?
    Please help me to figure out this or resolve this issue?

    Be sure to check that your Remoting Container service is running. If it is not, restart the service, and if it goes down again, check the event logs.
    Make sure that the AuthenticationBridgeService is enabled in your EnvironmentSettings.config, and the remoting container user is configured using the SetupAssistant.
    <RemotingContainer>
             <ConfigInfo configChildKey="key">
                   <add key="UserID" value="@@VAR:Prodika.RemotingContainer.SysUser@@" />
             </ConfigInfo>      
            <!-- Set the following services isActive flag to 'true' or 'false' -->
             <RemoteServices configChildKey="name">
                 <Service
                     name="AuthenticationBridgeService"
                     port="@@VAR:Prodika.AuthenticationBridge.Port@@"
                     isActive="true" />
    If the Remoting Container Service fails, please contact Support with details from the event logs.

  • How to prevent duplicate web pages from loading

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/930219]]</blockquote>
    how to prevent duplicate web pages from loading

    <s>Hi berternie, can you describe this in more detail?
    Are you saying the identical page loads in two different tabs? When does that happen -- when you click a link? or when you use a bookmark?
    Or do you have multiple tabs open every time you see your home page (i.e., when you start up, open a new window, or click the home icon)?</s>
    I see, you have more info in this thread: https://support.mozilla.org/en-US/questions/930219

  • Ques;How  do you secure imail when used being used in iweb. People can mess

    How do you secure imail when used being used in iweb? People can mess w/my settings in iweb imail window.

    What is iMail?
    And what is an iWeb iMail window?
    iWeb is part of iLife 06 which is an application used to create websites hosted on .Mac.
    Are you referring to Apple's Mail application and webmail access using a browser such as Safari to access your .Mac account?
    Which people can mess with what settings? You shouldn't allow anyone else to access your Mac when logged in to your account and home folder/directory. OS X was designed for multiple users of the same Mac with each regular user having their own computer login account (with or without admin privileges) and associated home folder/directory to store and access their data and settings for their login account only.

  • How to prevent duplicate web pages loading

    when clicking on a link, two duplicate web pages load, how to prevent this

    This started when you installed Firefox 13? Which version did you have before -- Firefox 12 or Firefox 3.6?
    Does this occur on all sites or only on particular sites?
    Do you have a very sensitive mouse or touchpad that might be double-clicking the link?

  • How to solve power error when using USB camera adapter in your camera

    Hello Everyone,
    First of all I wanna say reducing the output of the USB camera adapter from 100mA to 20mA just to save battery life is by far the most incredible adjustment in the history of @)#*$#%*($#!
    I know most of us bought the USB Camera adapter so we can use it as a USB adapter for the Camera (saves us from taking the memory card on and off the camera) but sadly the "Ginues Apple" reduced it to 20mA which decreases the range of cameras and flash drives that will work with it. I use Gopro Hero 3+ black and everytime I plug it with the adapter to my ipad I keep on seeing this @#@$#@ power error. I didn't want to waste the expensive adapter so I tried to look for a micro sd card reader but I don't think 20mA readers still exist.
    Now to solve this problem is very simple add a power source to help that 20mA up, most of the my friends bought a powered port hub but it's not my type because it's bulky, needs an outlet and not portable.
    So I found a better solution on how you can add a power source and still be portable, the answer is power bank or portable charger.
    Things you need:
    Camera
    USB camera adapter (Ginues Apple product)
    Power bank (I'm using 8,400 mAh)
    Dual USB Male to 5 Pin Mini USB Y Cable
    Ipad
    Procedure:
    Camera --- 5 Pin Mini USB ------------------ USB camera adapter ---------- Ipad
                                                   '---------- Power Bank
    Attach you camera to the 5 pin mini usb then the USB1 male to the female apple's USB camera adapter then to the Ipad. = this will show the power error.
    Then attach the USB2 to the power bank/portable charger to power it up.
    your welcome

    yocto yotta wrote: How to charge iPad Air when using the camera connection kit?
    No can do, Skippy!

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Does anyone know how to load ACR presets when using ACR in the creative cloud?

    Moving the discussion to Adobe Camera Raw forum.
    Thanks,
    Atul Saini

  • How to avoid data repetation when using select statements with innerjoin

    how to avoid data repetation when using select statements with innerjoin.
    thanks in advance,
    satheesh

    you can use a query like this...
      SELECT DISTINCT
             frg~prc_group1                  "Product Group 1
             frg~prc_group2                  "Product Group 2
             frg~prc_group3                  "Product Group 3
             frg~prc_group4                  "Product Group 4
             frg~prc_group5                  "Product Group 5
             prc~product_id                  "Product ID
             txt~short_text                  "Product Description
    UP TO 10 ROWS
    INTO TABLE l_i_data
    FROM
    Joining CRMM_PR_SALESG and
    COMM_PR_FRG_ROD
    crmm_pr_salesg AS frg
    INNER JOIN comm_pr_frg_rod AS prd
    ON frgfrg_guid = prdfragment_guid
    Joining COMM_PRODUCT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_product AS prc
    ON prdproduct_guid = prcproduct_guid
    Joining COMM_PRSHTEXT and
    COMM_PR_FRG_ROD
    INNER JOIN comm_prshtext AS txt
    ON prdproduct_guid = txtproduct_guid
    WHERE frg~prc_group1 IN r_zprc_group1
       AND frg~prc_group2 IN r_zprc_group2
       AND frg~prc_group3 IN r_zprc_group3
       AND frg~prc_group4 IN r_zprc_group4
       AND frg~prc_group5 IN r_zprc_group5.
    reward it it helps
    Edited by: Apan Kumar Motilal on Jun 24, 2008 1:57 PM

  • How to sync/edit audio when using frame freeze or time remapping?

    how to sync/edit audio when using frame freeze or time remapping? in premiere pro cs6

    You need to give more information about what you want to happen to the audio when you freeze or time remap the associated video.
    Is it synch video?
    Is it music?
    Is it Voice?
    Generally .. you have to cut and design the audio around the video effect.

  • How do I lock safesearch when using BING

    how do I lock safesearch when using BING search engine

    I assume you're using the "Content Aware" option for the Spot Healing brush.  It can be a maddeningly stupid option -- there's no telling from how far away it will pull the replacement pixels and will leave streaks that can be very difficult to remove.
    It would be best for you to include a sample image that's giving you the problem so we can suggest the best way to attack it.
    In general, the "Content Aware" option works best when you use a very small brush size.  That pulls in pixels closer to the area you want to heal.  If you get streaks, sometimes you can use the Spot Healing brush to get rid of them by going over the area in a perpendicular direction to the streaks.
    Ken

  • How to Prevent duplicates on Combination of Lookup columns in sharepoint 2010 using infopath 2010 form.

    Hi All,
    I have list with some Lookup columns like  City, Pin, and Text Column Name. All these are required columns.
    Now I want to prevent duplicates while submitting InfoPath form if a Combination of  City,Pin & Name. (like a Composite primary in Database is used.)
    Can some one help me on how to achieve this using InfoPath  2010 Rules, writing  rule in Xpath.
    Thanks in Advance.

    1. Add a secondary data connection to the list where the form will be submitted.
    2. Prior to submit via rules, set the query fields in the above connection: City, Pin & Name with values entered in the form. Query the data source and check if the result has values.
    3. Show error messages accordingly if exists else continue with Submit.
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • How to prevent duplicates in your contacts

    When syncing two iphones via icloud with your computer how do I prevent duplicate contacts between both phones, icloud and yahoo?

    I have 11 people designated under faces.
    Do you see the 11 People when using the "Faces" view from the source list in the Library Inspector or from the "Faces" button in the toolbar?
    If you are using the Faces button from the toolbar, you may have been excluding faces stacks you already created. Then, when you enter search strings, Aperture will suggest names from your contacts and you may create the same stack again.
    Also, if the search field is not empty, you may already have more "Faces" stacks than you are actually seeing.
    As you certainly know, you can always unite "Faces" stacks by dragging a stack onto the other to merge them. The merged stack will use the name of the stack you dragged to.
    Regards
    Léonie

Maybe you are looking for

  • Check Button Not Working on Portal for BI report

    We have Vendor account group variable when I enter any random value and click on check its not working its not giving message as ' Invalid Input' on Portal ( Variable is single input optional variable) same Check Button Working in RSRT . And For all

  • Format of Date field is loading wrongly in the Infocube 0pp_c01.

    Hi, Format of Date field is loading wrongly in the Infocube 0pp_c01. But it is loading properly into PSA. I am loading data into PP infocubes from the following DataSources.(they all are 3.x datasources) 1. 2LIS_04_P_MATNR 2. 2LIS_04_P_ARBPL 3. 2LIS_

  • HT1175 How can i add a 1TB hard disc to my time capsule with usb?

    I  bought a 2TB time capsule and now I have two questons actialy. First I want to add a 1TB external HD to my TC, second I want to access my data's from another places with any network. These are possible and how can I do these things please help me?

  • How to disable buttons in Search help screen ?

    Hi All, How do we disable Print button in customer search help ? We want that nobody should be able to take a printout of Customers from Search help result. Hence we want to disable the print button which comes in Search help. Any idea how do we go a

  • How to add a custom button on Application Toolbar for ME21N, ME22N & ME23N

    Hi Experts, I am new to this forum. I hope someone will help me. My Requirement is as : I want to add a new custom button on Application Toolbar for ME21N, ME22N & ME23N. There are already standard buttons in this toolbar which is Document Overview O