How to use Logger !!!!

Hi guys I am trying to view my console output I so new to EP I am having a lot issues poping up everywhere, can some on tell me how I can use the Console output like how view the output on Tomcat or on webshpere is there a way by which we can do it in Portals.
Thanks,
Emmanuel.

Hi Emmanuel,
You can use Visual Administrator to view the log files.
You can find it in the admin directory under your j2ee folder (\usr\sap\[system]\jc00\j2ee\admin)
start it by launching go.bat.
Or you can view the trace files in:
\usr\sap\[system]\jc00\j2ee\cluster\serverx\log
This is the same as in Websphere (via filesystem).
cheers,
Noel

Similar Messages

  • 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 to use Logger object in Lookout 5.0

    I am now trying to log data using Logger object. I use Switch1 for activating LogContinuously mode and Switch2  for breaking logging process. If I turn off Switch1, the logging process stops, its ok. My problem is if Switch1 is still on and I turn off Switch2, the logging process is still running. I seems different from what I have read from Help file. Anyone has the solution for it?Please give me an advice! Thanks a lot. Its better if someone post an example about using Logger object here for reference.
    Regards, 

    I think the behaviour you described is correct. If you turn on switch2, the logging process will stop, even when switch1 is on. If you turn off switch2, the process will be running.
    Here is an example of logger object.
    http://zone.ni.com/devzone/cda/epd/p/id/3816
    you can change the "log break" button into a switch, which can better show you how it works.
    Ryan Shi
    National Instruments

  • How to use application logger ?

    Hi,
    I have created a JSPDynPage application that I've deploy ion my portal (EP6 SP13)
    I want to use logger to manage it.
    For this, I've read many documentation but I can not find 2 documentations which are saying the same thing...
    Actually:
    /* I created a location in each class */
    private static final Location LOCATION = Location.getLocation(MyClass.class);
    /* I reference the application category */
    private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, Constants.APPLICATION_NAME);
    /* And I use this as: */
    CATEGORY.infoT(LOCATION, "doInitialization", "User logged in", new Object[] { m_timeManagment.getFirstName()});
    /* And: */
    LOCATION.infoT("doInitialization", "User started transaction", new Object[] { m_timeManagment.getFirstName()});
    But I think I must do other think ...
    Like for example create a log-configuration.xml file in my application folder (under "logger" repository?)
    Should I reference it in the portalapps.xml ?
    Can someone tell me exactly how to do, please ?
    Thanks,
    Fabien

    Hi,
    I have a problem with the definition and the use of log-configuration.xml file.
    Here, I use the log-configuration.xml file...
    But the code seems OK but I don't see any log or location/category in the Log viewer
    My log-configuration.xml is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE log-configuration SYSTEM "log-configuration.dtd">
    <log-configuration>
         <log-formatters>
              <log-formatter
                   name="DefaultFormatter"
                   pattern="%24d %l [%s]: %m"
                   type="TraceFormatter"/>
         </log-formatters>
         <log-destinations>
              <log-destination
                   count="10"
                   effective-severity="INFO"
                   limit="1000000"
                   name="application_log"
                   pattern="./log/applications/TimeManagmentWithLog/defaultTrace.%g.trc"
                   type="FileLog">
                   <formatter-ref name="DefaultFormatter"/>
              </log-destination>
         </log-destinations>
         <log-controllers>
              <log-controller
                   effective-severity="INFO"
                   name="com.eurocopter.portal.time.management.process">
                   <associated-destinations>
                        <destination-ref association-type="LOG" name="application_log"/>
                   </associated-destinations>
              </log-controller>
              <log-controller
                   effective-severity="INFO"
                   name="/Application/TimeManagmentWithLog">
                   <associated-destinations>
                        <destination-ref association-type="LOG" name="application_log"/>
                   </associated-destinations>
              </log-controller>
         </log-controllers>
    </log-configuration>
    So, I define a location: com.eurocopter.portal.time.management.process
    And a category: /Application/TimeManagmentWithLog
    And the destination of the log file: ./log/applications/TimeManagmentWithLog/defaultTrace.%g.trc
    And in the java code, I use:
    package com.eurocopter.portal.time.management.process;
    private static final Location LOCATION = Location.getLocation(TimeManagementProcess.class);
    private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, Constants.APPLICATION_NAME);
    CATEGORY.infoT(LOCATION, "doInitialization", "User logged in", new Object[] { m_timeManagment.getFirstName()});
    LOCATION.infoT("doInitialization", "User started transaction", new Object[] { m_timeManagment.getFirstName()});
    I would thinking this creates the logfile in the sepcified destination and that I can see the category and the location in log Configurator..
    But nothing happens...
    Did I do something wrong ?
    Thanks,
    Fabien

  • How to view o/p using Logger

    I want to view the output uisng logger. I am using netbeans IDE 6.0. For this i imported the package org.apache.log4j.Logger. I included the log4j.xml file in the source package and org.apache.log4j in the libraries.
    My question is how to veiw the out put using logger as we view using system.out.println. Is the correct way of adding the
    I used the following command line in my class
    protected final Logger logger = Logger.getLogger(getClass());

    It's more normal to do this:
    public class Foo {
       private static final Logger logger = Logger.getLogger(Foo.class);
    }The advantage is that you don't create a Logger object for every instance of the class in question.
    The disadvantage is that it's common to cut and paste the line in question and then forget to change the class reference passed to the getLogger method, leading to some very mildly misleading logger output (not a big deal).

  • Using Logger ,how to disable the default date recording?

    Hi,
    I m using Logger class of java.util.logging package to maintain logs for the application. By default, it writes date and the package path for every log statement.But, I dont want it. I want to simply record the error and information statements.
    Is there any way to switch off the default recording of date and package path?
    Regards
    Shweta

    Even I am facing the same problem...Is there anyone who can please help us as the log record becomes unreadable because of dates appended to every message

  • WHEN TO USE LOGGER IN CREATE INDEX?

    HI ALL,
    WHEN TO USE LOGGER IN CREATE INDEX STATEMENT? AND WHEN TO USE NOLOGGING?
    HOW IS INDEX PHYSICALLY STORED IN DATABASE?
    THANKS IN ADVANCE.
    SANDESH

    NOLOGGING means that information is not written into the redo logs (relatively faster than LOGGING). However, this also means that if you need to recover your database, the index cannot be recovered (since the info cannot be found in the redo logs).
    Use NOLOGGING if you need the speed (big indexes) and/or you don't care about being able to recover the index (i.e. if it is acceptable if you recreate it manually after possible database recovery). Alternatively, create the index with NOLOGGING, alter the index to LOGGING and backup the database. Only after the successfull backup will the index be recoverable (with that backup, not an older one).
    Typically you should use LOGGING rather than NOLOGGING because the overhead of creating the backup/recovery and insecurity on being able to recover (and pressure that goes along with it) is to great. This option will be handy only in rare cases (e.g. when creating staging area tables/indexes in a datawarehouse. They don't need recovery and will therefore speed up when using NOLOGGING).
    Hope this helps,
    Lennert

  • How to use log4net with C# clients

    Hi,
    Can anybody please give an example of how to use log4net with C# clients? Foe java clients you can use the
    <logging-config>
    <destination>log4j</destination>
    How do we use it with C# clients? Any example will be appreciated.
    Thanks.
    -ali

    Ali,
    The following is an example on how to define a custom logger (including log4net) in tangosol-coherence-override.xml for coherence .NET client; you need Coherence .NET client 3.7.1 patch 1.
    <coherence xmlns="http://schemas.tangosol.com/coherence">
    <logging-config>
    <destination>common-logger</destination>
    <logger-name>log4net</logger-name>
    <severity-level>9</severity-level>
    <message-format>(thread={thread}): {text}</message-format>
    <character-limit>8192</character-limit>
    </logging-config>
    </coherence>
    You also need to configure log4net in app.config. Please see the following web page for more information:
    http://netcommon.sourceforge.net/docs/2.0.0/reference/html/ch01.html
    -Luk

  • How to use Logging?

    I am trying to get QoS and other information from OSMFPlayer. I have logging set to true in the project properties.
    I import org.osmf.logging.*, and add the code...
    CONFIG::LOGGING { logger.fatal("LOG THIS INFO"); }
    CONFIG::LOGGING { private static const logger:org.osmf.logging.Logger = org.osmf.logging.Log.getLogger("OSMFPlayer"); }
    (I am using logger.fatal because I assumed it would be the best to get only the information i want.)
    It appears that thsi is all I need to create a log, however, I cannot find a log anywhere. Is this all that is needed to create a log. And where should the log appear? The documentation is pretty sparse on this topic.
    My setup is a Linux server with my media and OSMFPlayer streaming to a Windows client using Firefox.
    Thanks,
    Dan

    Dan,
    1) There is no document on VideoQoSPlugin as far as I know.  The brief steps of how to use it is
    1. Add QoS variables to the Plugin as you want to see.
    1.1 Add QoS metadata to VideoQoSPluginMetadata.as as public var.
       eg) public static const VIDEOBUFFERLENGTH:String = "videoBufferLength";
    1.2 Add value to your metadata in VideoOsOProxyElement.as,
          Note that onTimer function has NetStreamInfo "qos".
        eg)       metadata.addValue
                        ( VideoQoSPluginMetadata.VIDEOBUFFERLENGTH
                        , qos.videoBufferLength.toString()
    2. Load the Plugin into your player : See other plugin samples.
          mediaFactory.loadPlugin(pluginResource);
    3.  Get the QoS data in your player .(eg) org.osmf.qos.VideoQoSPluginMetadata.CURRENT_FPS
         It is up to you how to use / display QoS data.
    2) As you said StrobeMediaPlayback has already built for many QoS parameters so I might be just easier to use that.  I saw your post to SMP so you are on the right track as Andrian is the person you want to talk regards to SMP.
    3) Air APP is an application platform as oppposed to an web application such as a HTML based app.  You can download it from here.
    http://get.adobe.com/air/  and install the debug console or run it from your flex builder.   The readme file has an instructions to the debug console.
    Basically, you launch the debug console first, then run OSMF player and play a video.  (Turn on the Logging option on : -define CONFIG::DEBUG true -define CONFIG::FLASH_10_1 true),    The debug message will be displayed on the debug console as the video plays.
    Ryan

  • How to use one email adress for multiple recipients

    Hello,
    I'd like to know how to use one email adress for multiple recipients. 
    this would be very useful or projects. for example;
    if i send one mail to [email protected], all people in this project get an email.
    I will add the people in this project myself. 
    I know it is possible, but I don't know how to do it ;-)
    please help me! 

    Hope this help.
    _http://technet.microsoft.com/en-us/library/cc164331(v=exchg.65) .aspx

  • Can't figure out how to use home sharing

    Since the latest couple iTunes updates, my family and I can not figure out how to use home sharing. Everyone in our household has their own iTunes, and for a long time we would just share our music through home sharing. But with the updates, so much has changed that we can no longer figure out how to use it.
    I have a lot of purchased albums on another laptop in the house, that im trying to move it all over to my own iTunes, and I have spent a long time searching the internet, and everything. And I just can't figure out how to do it. So.... how does it work now? I would really like to get these albums from my moms iTunes, onto mine. I would hate to have to buy them all over again.
    If anyone is able to help me out here, that would be great! Thanks!

    The problem im having is that after I am in another library through home sharing, I can't figure out how to select an album and import it to my library. They used to have it set up so that you just highlight all of the songs you want, and then all you had to do was click import. Now I don't even see an import button, or anything else like it. So im lost... I don't know if it's something im doing wrong, or if our home sharing system just isn't working properly.
    Thanks for the help.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • How to use airport time capsule with multiple computers?

    I'm sure there are some thread about this but i couldn't find it... so sorry for that but hear me out! =)
    I bought the AirPort Time Capsule to back up my MBP
    And so i did.
    then i thought "let give this one a fresh start" so i erased all of it with the disk utility and re-installed the MBP from the recovery disk.
    I dont want all of the stuff i backed up just a few files and some pictures so i brought that back.. so far so good.
    Now i want to do a new back up of my MBP so i open time machine settings, pick the drive on the time capsule and then "Choose" i wait for the beck up to begin, and then it fails.  It says (sorry for my bad english, im swedish haha) "the mount /Volume/Data-1/StiflersMBP.sparsebundle is already in use for back up.
    this is what i want:
    i want the "StiflersMBP.sparsebundle" to just be so i can get some stuf when i need them. it's never to be erased.
    i want to make a new back up of my MBP as if it's a second computer...
    so guys and girls, what is the easiest and best solution?
    Best regards!

    TM does not work like that.
    If you want files to use later.. do not use TM.
    Or do not use TM to the same location. Plug a USB drive into the computer and use that as the target for the permanent backup.
    Read some details of how TM works so you understand what it will do.
    http://pondini.org/TM/Works.html
    Use a clone or different software for a permanent backup.
    http://pondini.org/TM/Clones.html
    How to use TC
    http://pondini.org/TM/Time_Capsule.html
    This is helpful.. particularly Q3.
    Why you don't want to use TM.
    Q20 here. http://pondini.org/TM/FAQ.html

  • How to use multiple ipods on one account

    I have an Ipod classic and just bought my sons two nano's how do I use these on the same account without changing my account info?

    Take a look here:
    How to use multiple iPods with one computer
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Discussions page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums, in the User Tips Library and in the Apple Knowledge Base before you post a question.
    Regards.

  • How to use a Table View in AppleScriptObjC

    How can I use a table view and add data to it? And how can I display a button cell and image cell in the table? Thanks.

    Hi all,
    Actually i need some more clarification. How to use the same select statement, if i've to use the tabname in the where clause too?
    for ex : select * from (tab_name) where....?
    Can we do inner join on such select statements? If so how?
    Thanks & Regards,
    Mallik.

Maybe you are looking for

  • Auto PO at the the time of Gr

    Hi,   Can any one please explain me the advantages and disadvantages of Automatic PO creation at the time of GR.Can PO be created automatically from SES also? Regards, Tess

  • Created by column in sharepoint 2010

    we have 5 different site list that uses the created by column to help us identify who created what. for some reasons one of the site list is showing system account in the created by column and not sure how it was changed to this? all other list are s

  • Y-axis Does not show values when exported to excel

    Hi, We are facing trouble while showing Y-axis values when report is exported to excel. On report Y-axis is shown properly however when we export it to excel only 1 value is shown with arrow mark(=>). If we will right click Y axis, we can see all dat

  • Trouble being unable to download movies

    Hi, I have successfully downloaded movies from itunes for a while now.  However, tonight when I tried to download two separate movies, I received the following errors: There was a problem downloading the movie. Part of the files seems to be corrupted

  • Problem while passing parameter from report to report.

    Hi I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report. i'm using srw.set_hyperlink to call report from report. i have created a key value in the cgicmd.dat file called faccre802005-2006: report=faccre80