How to direct commons-logging to jdev console instead of DefaultServer.log

Hi,
I have configured commons-logging in my adf 11g application. I added the following line to the commons-logging.properties file:
org.apache.commons.logging.LogFactory=weblogic.logging.commons.LogFactoryImpl
I have added the JDev11.1.1.1.0/modules/com.bea.core.weblogic.commons.logging_1.3.0.0.jar as library to my project. If in my weblogic server i set the correct logger settings for my classes i see al log messages in the DefaultServer.log file. How can i make these appear in the JDeveloper console instead?
Kind Regards,
Andre

Hi,
Found it out by myself so for everybody that wants to do the same.... In the weblogic console logging tab i needed to set the Severity level of Message Destination Standard Out to Debug. Since i now can see all logging in the JDev console i set the Message Destination Log File to warning so the log file does not get to big.
Kind Regards,
Andre

Similar Messages

  • How to use commons.logging in weblogic (8.1)?

    Greetings,
    I'm trying to use commons.logging framework to manage the logs of my
    application. With Weblogic I will use an implementation that works with
    weblogic.logging package but with other J2EE products I'll use another
    native log implementations or frameworks (for instance, for jboss I will
    use log4j).
    1) I created a class WeblogicLogger which implements the Log interface::
    public final class WeblogicLogger implements Log {
    I packaged this class in a jar file with a properties file,
    commons-logging.properties, which has the property setting my class
    below has the default logger:
    org.apache.commons.logging.Log=pt.ptinovacao.weblogic.logging.WeblogicLogger
    2) My sample code has the following code:
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    private static final Log log = LogFactory.getLog(
    LogTimeStartHandler.class.getName());
    something(){
    log.info(this.getClass()+" test log");
    3) I added the commons-logging jars and my jar with my custom wrapper
    weblogic logger in ${WL_HOME}/common/bin/commEnv.sh:
    WEBLOGIC_CLASSPATH=
    (...)${CLASSPATHSEP}${WL_HOME}/server/lib/weblogiclogger.jar${CLASSPATHSEP}${WL_HOME}/server/lib/commons-logging-api.jar${CLASSPATHSEP}${WL_HOME}/server/lib/commons-logging.jar
    However, my loggings still not appear in my weblogic server. Did I miss
    something?
    thanks,
    Pedro Salazar

    Did you manage to get this working?
    If yes ... what did you do?
    I am having the same problem implementing commons-logging with log4j

  • How reduce Sbo-common log is over 40GB??

    Hi all
    I have a big problem that what I think my SBO-COMMON_log.LDF is very big and the server tell me everyday that I don't have enough free space on HD.
    I'd tried to clean and shrink the SBO-COMMON_log.LDF but I can't.
    Please HELP!!!
    Thanks all.
    Paco
    Hola a todos
    Tengo un grave problema o eso creo, porque el SBO-COMMON_log.LDF es enorme pasa los 40GB, y continuamente esto recibiendo mensajes del servidor avisandome que no queda espacio libre en el disco.
    He intentado limpiar y reducir el archivo pero no hay manera.
    Por favor AYUDADME.
    Gracias
    Paco

    Hi Paco,
    It's not really worth keeping a log file for the SBO-COMMON database as the data movement is so small. Therefore I normally set the recovery level of this database to simple. This will then set the log file to a few kilobytes and the log file will not grow. If you'd rather keep the recovery model at full then I recommend you truncate the log file and then set up transaction log backups for the database so the log file doesn't keep growing.
    When you say that you've tried to shrink the log file, what procedure have you tried? In some cases I've found that the shrink database options in SQL don't work but setting the recovery model to simple and running the DBCC shrinkfile command in Query Analyzer with shrink the file to virtually nothing. For more details see here:
    http://support.microsoft.com/kb/907511
    Of course, before you start playing around with your database, make sure you have a good backup
    Hope this helps,
    Owen

  • How to see who is log in attendant console

    Hi, I'm looking to see which user is log in attendant console, is there a way to do that ?

    Try this link
    http://www.cisco.com/en/US/products/sw/voicesw/ps555/products_qanda_item09186a00800b0a20.shtml

  • How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the console?

    How to use logger to send any output instead of the
    console?There are three commonly used logger inferfaces, the log4j, the java.util.loging and the Commons logging (which works with either.)
    You create a logger object, generally one for each class. Normally a private static variable points to it and it has a name equal to the FQN of the class.
    e.g.
    package org.widget;
    public class MyClass {
      private static   Logger log = Logger.getLogger("org.widget.MyClass");That's the java.uitil.Logger formula.
    Then there are method on the logger to call for various kinds of output. There' are different logging levels, priorities like SEVERE or DEBUG. When running the logs are configured to ignore messages of less than a set priority.
    You can also pass an Exception or Error to the logger which will log the stack trace.

  • How can i see when someone has accessed my call/text log. (This is possible on google) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in

    How can i see when someone has accessed my call/text log. (This is possible on google/gmail) I have been informed that someone has accessed my activity log and is giving my information to a third party. I believe it is a service tech, but I am not interested in persuing that further. I just need to see when my account has been accessed if possible.

    Hi lynniewigs,
    This is a common concern among Android and I-phone user, and one of the drawbacks to using a smart phone.  We lose so much privacy. Our phones become cameras into our homes for us to be spied on.
    I don't know what type of phone you have, if it is even a smart phone, but here is an example of an application that you can use to determine which applications are accessing your information and sending it out. 
    Permission Scanner - Android Apps on Google Play
    Google just recently revamp their permissions geared to hide invasive applications that spy and send out your information without your knowledge.  Report says be aware of what your Android app does - CNET
    Please continue to be mindful of the apps you download and the permissions you give. 

  • I am not able to see Diagnostics logs in Admin Console

    Hi,
    I did some configuration changes in JDBC level and now i want to see diagnostics logs in admin console . But when i moved to Diagnostics--->log files---->server logs----> (selected managed server ) -->click view
    it doesn't display anything.
    Please tell me how to view the logs in admin console....

    Hi,
    First of all you have to do some tasks in order to get this data.
    1. Enter to WLS Administration Console.
    2. On the left panel go to Diagnostics > Diagnostic Images
    3. Select one of your servers using the radio button.
    4. Clic on Capture Image
    It will generate a zip file with a snapshot, or dump, of a server's state and configuration data.
    Best regards,
    Raúl

  • Directing std output to the console window

    I am trying to direct the standard output from a separately executed console program to the console window belonging to the running application. How can I do this?
    For example, in the following code, if I execute the simple Windows 'dir' command using .exec, how can I make the output go to the application's console instead of going to a separate window?
    import java.io.*;
    class dir
      public static void main(String[] args)
        try
          Process runprogram = Runtime.getRuntime().exec("cmd.exe /C start dir");             
        catch(IOException e){}
    }

    First I will post the mandatory link for everybody who asks about Runtime.exec():
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    Read that and notice the bit about getting data from the process's output stream. You can copy that data to the console.

  • How can be joined EM DB web console together with EBS?

    Our company uses EBS R12 running under Linux. There is a need for managing the database that comes with EBS. The JAVA version of Enterprise Manager Console lacks some important functionality that resist in EM DB web console. So how can be integrated EM DB web console installation/service into existing EBS system? Please give some hints... There exist an "EM DB Grid Control" installation package but I doubt that it can be installed above the EBS system to manage the EBS database. Is there a right way to implement this?

    hsawwan, I have reviewed the two notes, it seems that note 729893.1 does not apply to my environment, I have done the needed steps described in 336629.1 and then tried to re-create the repository but it still fails with the same error. The tail of the log:
    19.01.2009 17:54:03 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking dbsnmp and sysman
    19.01.2009 17:54:03 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Unlocking mgmt view user account
    19.01.2009 17:54:03 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar
    2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.d
    ba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || v
    iew_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_
    pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identi
    fied by ' || view_user_pwd || ''; END IF; end;
    19.01.2009 17:54:03 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Starting execution: /u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts/emca/emcaDbUtil /u01/oracle/PROD/db/tech_st/10.2.0/
    perl/lib:/u01/oracle/PROD/db/tech_st/10.2.0/perl/lib/site_perl:/u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts:/u01/oracle/PROD
    /db/tech_st/10.2.0/bin: /u01/oracle/PROD/db/tech_st/10.2.0/perl/bin/perl /u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts/emca/e
    mcaDbUtil.pl /u01/oracle/PROD/db/tech_st/10.2.0 PROD SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd v
    archar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_st
    atus into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%'
    THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mg
    mt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immedia
    te 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    19.01.2009 17:54:03 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Exit value of -1
    19.01.2009 17:54:03 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Arguments passed /u01/oracle/PROD/db/tech_st/10.2.0 PROD SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); vie
    w_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); selec
    t account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like
    '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' TH
    EN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); exe
    cute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    19.01.2009 17:54:03 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Unmatched [ in regex; marked by <-- HERE in m/[ <-- HERE thdfv/ at /u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts/emca
    /emcaDbUtil.pl line 64, <STDIN> line 2.
    19.01.2009 17:54:03 oracle.sysman.emcp.util.PlatformInterface executeCommand
    CONFIG: Error executing /u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts/emca/emcaDbUtil /u01/oracle/PROD/db/tech_st/10.2.0/perl
    /lib:/u01/oracle/PROD/db/tech_st/10.2.0/perl/lib/site_perl:/u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts:/u01/oracle/PROD/db/
    tech_st/10.2.0/bin: /u01/oracle/PROD/db/tech_st/10.2.0/perl/bin/perl /u01/oracle/PROD/db/tech_st/10.2.0/sysman/admin/scripts/emca/emcaD
    bUtil.pl /u01/oracle/PROD/db/tech_st/10.2.0 PROD SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varch
    ar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status
    into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN
    execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_v
    iew_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate '
    alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
    19.01.2009 17:54:03 oracle.sysman.emcp.EMReposConfig unlockAccounts
    CONFIG: Failed to unlock mgmt_view account
    19.01.2009 17:54:03 oracle.sysman.emcp.EMReposConfig invoke
    SEVERE: Failed to unlock all EM-related accounts
    19.01.2009 17:54:03 oracle.sysman.emcp.EMConfig perform
    SEVERE: Failed to unlock all EM-related accounts
    Refer to the log file at /u01/oracle/PROD/db/tech_st/10.2.0/cfgtoollogs/emca/PROD/emca_2009-01-19_05-51-47-PM.log for more details.
    19.01.2009 17:54:03 oracle.sysman.emcp.EMConfig perform
    CONFIG: Stack Trace:
    oracle.sysman.emcp.exception.EMConfigException: Failed to unlock all EM-related accounts
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:253)
    at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:133)
    at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
    at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:485)
    at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1141)
    at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:469)
    at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:418)

  • How to create user in Oracle 11g Console Administration through browser

    Hi
    I installed Oracle 11g on my Windows XP system
    then i opened the console through IE 8.0 using the address "https://serversys:1158/em"
    then i logged into this console by the username SYS/SYS@orcl as SYSDBA
    then i opened the SCHEMA tab
    but here i didn't found any link like "USERS" to create/manage users
    How can i create the users..?
    thanks in advance
    jk

    user10922309 wrote:
    Yes, Hans i am planning to become a DBA from India.Good. If you ever move to North America to become a DBA, let us know. >:)
    With the help of your link "admqs_administer_users.htm"
    i found that bold "Users" link in "Server" tab bold
    but right now i am getting the error "ora-01301: insufficient privilages"
    then i granted the 'create user' privilege to SYS
    error is coming..If you have properly logged on as SYS, as shown by the 'Logged in as SYS' note in the upper right corner, you should not be getting the 1301. Try logging out and following the steps in the document I gave you starting at chapter 1.

  • How to send common msg

    Hi
    How to send common Msg to all the users presently logged in.This
    msg should appear as popup in a screen, tell me the procedure or
    tcode.
    regards
    gp

    tcode SM02 will do that, as soon as your user does some kind of action.
    or else, investigate usage of tcode SE37 with function module TH_POPUP.
    or check on the web for ABAP code for program ZPOPUP.

  • The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the

    When i tried to login in inbrowserediting.adobe.com i see that:
    The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user.
    What does it mean? What is problem?

    Hi,
    I have just created my First website using Muse and Its all been uploaded to my FTP server but i cant access the in browser editing which was the whole reason why i re-done the website for my client using muse
    its saying the following
    "The FTP server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user. server configured for this site doesn't seem to match the URL you entered. Make sure that you use the Upload to FTP Host feature in Muse to publish the site directly to the final location and that you are logging on to In-Browser Editing with the same user."
    Yet i Can access my website fine "www.calmwood.com.au"
    My ftp server responds to either the IP Address or the DNS Address www.calmwood.com.au
    so i am not understanding how it thinks its different. when its fully referenced
    any help would be appreciated.
    thanks

  • Querying for users logged into attendant console with AXL (help)

    I am wondering if anyone knows of any AXL commands that can be used to query who is logged into attendant console? I know that there is a perfmon counter that will tell you how many users are logged in but there is no other detail beyond that. Any help would be greatly appreciated! Thank you in advance for the assistance.

    So after speaking with O365 Support and examining the Activesync Logs (hold down control, rt. click on the exchange tray app bottom right corner of the screen, click Test ActiveSync) we were able to see outlook trying our on-premise exchange servers first.
    Despite failing on them, and moving on to activesync.outlook.com, it still would not mount the O365 mailbox & shared mailboxes appropriately.  If we set DNS to manual on the workstation to publics, the problem would go away.
    Disabling SCP by running the following command on both our exchange servers fixed the issue:
    Set-ClientAccessServer -Identity “SERVERNAME” -AutoDiscoverServiceInternalUri $NULL
    Credit to AgileIT! Here's the complete reference:  http://www.agileit.com/news/outlook-profile-autodiscover-service-order-of-precedence-and-disabling-scp-for-hosted-exchangeoffice-365-migrations/
    4 Hours dealing with this issue.  

  • How to get the output of a procedure in to a log file ?

    Hi, Everyone,
    Could you please tell me
    How do i write the output of a procedure to a log file ?
    Thanks in advance...

    Hi,
    could you please explain me more on how to use the UTL_file to get the output to a log file as in am new to PL/SQL
    my script file is
    EXEC pac_sav_cat_rfv.pro_cardbase (200910,'aaa',100,'test_tbl');
    i need the output of this statement in a log file.
    Could you please explain to me how it can be done.
    thanks in advance

  • Somehow I have 2 iCloud accounts...how do I change the account one of my devices is logged into?

    Somehow I have 2 iCloud accounts...How do I change the account one of my devices is logged into?

    If you are using your main account for iTunes, you should continue to do so, otherwise you will lose access to many of your purchased items made that account.
    You can delete the AOL account for iCloud only on your iPhone and first iPad, by going to settings > iCloud, scrolling down and hitting delete account button. You will then enter your me account details into the iCloud settings.
    When you delete your AOL account from the iCloud settings, the phone should give you the option of keeping your data on the phone, you need to make sure that you choose this option, and also choose the option to merge when you add your new account back.

Maybe you are looking for