How can maintain log file Please help Very Urgent.

I am developping an application in PDK. From my application I need maintain a log file in the server side. Please help me how can I do this. If you do have links regarding this matter please pass it.

You might want to use the SAP Logging API. see
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a>
In NWDS include a reference to logging.jar (use variable SAP_LOGGING_LIB_HOME).
You can then write to the log in this way:
public class Xyz {
     private static final Location TRACE = Location.getLocation(Xyz.class);
     // It is not nice to set the severity in static code - only for demonstration purposes.
     // For production-ready code this should be done via a log-configuration.xml
     // to allow configuration of the severity at runtime.
          TRACE.setEffectiveSeverity(Severity.ALL);
     public void myMethod() {
          final String METHOD = "myMethod()";
          TRACE.entering(METHOD);
          TRACE.debugT("whatever");
          TRACE.exiting(METHOD);

Similar Messages

  • A previous and unrelated text always appears when I need to send a new text. This prevents forwarding texts also, which I need to do all the time for my business. How can I fix? Please help!

    A previous and unrelated text always appears when I need to send a new text. This prevens forwarding texts also, which I need to do all the time for my businss. How can I fix? Please help?

    Hi,
    This sounds like it is about Window positions.
    iChat has Default places for Incoming Invites.
    Video is always top Center of your Screen
    Audio and Text chats are Upper right with the Audio slightly lower than Text Chats.
    Secondary invites are sort of Stacked like when you open multiple files from the same App.
    Your outgoing Windows are "Remembered" as to where the last one was when you used it.
    This can be an issue if you use your Mac with a second display and turn Off Mirroring.
    You windows can get "left" on the other screen.
    Go to System Preferences > Displays and turn On Mirroring and the windows should come back to one Screen/display.
    If this does not help go to your Home Folder/Library/Preferences and delete (Drag to Trash) com.apple.ichat.plist and restart iChat.
    Unfortunately you will need to reset any iChat Preferences you have changed from defaults.
    10:42 PM      Tuesday; April 26, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
    , Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • When trying to download a app, I am being told my Apple ID has been diabled.  why is this happening?  how can I fix? Please help!

    When trying to download an app, I am being told my Apple ID has been disabled!  Why is this happening?  How can I fix?  Please Help.

    We are fellow users, we won't know why it's disabled. You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your device by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in so as to 'refresh' the account on it
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder

    i forgot my icloud account and my email how can i recover it please help me icloud maker and icloud password and username holder

    If you don't know your ID, you can try to find it as explained here: http://support.apple.com/kb/HT5625.  Then you can reset the password as explained here: http://support.apple.com/kb/PH2617.  Of course, you can only do this if it's your ID.

  • Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on iTunes, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything, how can I stop this. please help!thx

    Hello! I was on my Mac and then I clicked on iTunes. Then I clicked on Account, and accidentally removed my device from my Mac, how can I get it back? Also when I plug my iPod into the computer, it downloads everything that is on my computer, how can I stop this. please help! please help!!!!!!thank you

    Is the iPod still singed into the account isn Settings>iTunes and App Stores and SettingsZ>iCloudl? If it is then I would not be concerned.
    Also see:
    iTunes Store: Associating a device or computer to your Apple ID
    since you may have started the 90 day window.
    For the other "problem", go to iTunes>Preferences>Devices and check the box that says Prevent iPod....automatically syncing.

  • I have my i phone 5c but i can`t activate it cus every time try to activate it i have a message that the SIM card is not valid although this i phone now is open international so how can i activate it ,, please help

    i have my i phone 5c but i can`t activate it cus every time try to activate it i have a message that the SIM card is not valid although this i phone now is open international so how can i activate it ,, please help

    i`m sorry but i contact to apple support and told me that the mobile still locked on AT&T and i can`t know this issue ,, Thanks for Reply

  • HT201269 I forgot my password for Encrypt my Backup how can I reset that please help I really need it Urgently???

    I forgot my password for Encrypt my Backup how can I reset that please help I really need it Urgently?

    If you do not know the passcode then you cannot use the backup
    Sorry

  • Update Unavailable with This Apple ID This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled... How can i fix it Please help !!

    Update Unavailable with This Apple ID This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled... How can i fix it
    Please help !!

    Hello chiêu trần
    If there is an issue with any app then use the steps in the article below to report the issue to the App Store.
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/HT1933
    Regards,
    -Norm G. 

  • Hello everyone, i need Mongolian keyboard layout, how can i find it, please help me, my pc is version OS X Yosemite, 10.10.2

    hello everyone, i need Mongolian keyboard layout, how can i find it, please help me, my pc is version OS X Yosemite, 10.10.2

    CLICKY CLICK---> Multilingual Mac

  • I have Lightroom 5 on my iMac with OS X 10.9.5. I have lost all my (10,500 pics) "developed" settings. Every picture went back to its original setting. How can I restore? Please help.  Thanks,  GY

    I have Lightroom 5 on my iMac with OS X 10.9.5. I have lost all my (10,500 pics) "developed" settings. Every picture went back to its original setting. How can I restore? Please help.  Thanks,  GY

    Thank you for your questions/advice. The answer for your 1st question is yes, and "may be" to your 2nd question.  Fortunately, I had exported the recently developed photos into my external head drive. After reverting back to the original catalog, I have re-imported those developed photos. Now everything is restored. I need to learn more about the subtleties in using the Lightroom.
    Thanks again,
    GY

  • How come I cannot send the photo ? I turn the iMessage on. It said: waiting for activated for ever. How can I do? Please help

    My phone is 5S.  I turn the iMessage on. It said: waiting for activated for ever. How can I do? Please help

    What carrier do you have?
    ~Lyssa

  • Can not remove standby log file, please help

    Hi,
    My v$logfile
    GROUP# STATUS TYPE MEMBER
    IS_RECOVERY_DEST_FILE
    3 ONLINE /u01/app/oracle/oradata/orcl/redo03.log
    NO
    2 ONLINE /u01/app/oracle/oradata/orcl/redo02.log
    NO
    1 ONLINE /u01/app/oracle/oradata/orcl/redo01.log
    NO
    GROUP# STATUS TYPE MEMBER
    IS_RECOVERY_DEST_FILE
    4 STANDBY /u01/app/oracle/oradata/orcl/stdlog01.log
    NO
    5 STANDBY /u01/app/oracle/oradata/orcl/stdlog02.log
    NO
    And when i clear standby log 5
    SQL> alter database clear logfile group 5;
    alter database clear logfile group 5
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [2130], [0], [8], [2], [], [], [],[]
    Please help me :(

    I hoping you can provide more information. v$log should not return information on standby, V$STANDBY_LOG will.
    Are you preforming the query on the primary or standby side?
    What version of Oracle are you using?
    Why do you need to remove the standby log?
    You should only have to clear a logfile if it has become corrupt, what make you think this is the case?
    If you can provide more details if would be very helpful.
    Best Regards
    mseberg
    Since you have posted the exact same question in the GENERAL DATABASE section and refuse to supply version information there you really have provide more details before anybody will help you.
    Remove standby redo log, get ORA-00600
    Edited by: mseberg on Apr 9, 2011 5:35 AM

  • How can I extract ? Please help me.........

    First of all, I am very new user to XML and also Java. If my question is nonsense, forgive me, please.
    I would like to test that the string in the node are equal with some string that I want to search. I use DOM API.
    The following code are ok for the node is directly included text CDATA. The program gives the true value. In the following simple code, I tried to search the string "ACTI".
    for example; the node, <LABEL>Problem in Activity</LABEL> , I got "true".
    But I would like to match also the node ,
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    There is also "Activity" string value in class_constraint.
    So how can I extract and match that string data?
    Help me please!
    case Node.CDATA_SECTION_NODE:
    System.out.println(node.getNodeValue());
    if (node.getNodeValue() != null) {
         String aa = (node.getNodeValue().toUpperCase());
         if ( (aa.indexOf("ACTI") >= 0))
         System.out.println("true");
         else
         System.out.println("false");
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Activity" >
    </SLOT>
    </SLOTS>
    </CONCEPT>

    Thank you very much for your help.
    I do appreciate your reply.
    As I gave my code example in my first post, I parse the XML document and I checked each node whether it is CDATA Node or Document Node, Element Node, and so on.. I used CASE statement.
    If it is CDATA node, I compare Node value and the string I want to search.
    At that time, I faced the problem that you solved already, I didn't know how to compare in attribute node.
    With your suggestion, I can compare now.
    But the problem now is that... when I extract element by tag name, it cannot test node by node.
    So, how can I combine these two code?
    Actually, what I am going to do is that if node is not match (in anywhere) with the string what I want to search starting from parent node to all child nodes, I want to delete that node starting from parent node and it's childs. And I want to create a new XML document by deleating unmatched nodes.
    For example, in the following XML, I would like to delete the second <CONCEPT> node while I search for "Acti" string. There is no "Acti" in the second.
    <CONCEPT>
    <LABEL>Problem in Activity</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Design" >
    <SUB_L label="" def="" role_name="" class_const="Activity" />
    </SLOT>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Const" >
    <SUB_L class_const="Activity" />
    </SLOT>
    </SLOTS>
    </CONCEPT>
    <CONCEPT>
    <LABEL>Problem in REQ</LABEL>
    <SLOTS>
    <SLOT label="slot" kind="a/o" role="occurs in" class_constraint="Req" >
    <SUB_L class_const="Change" />
    </SLOT>
    </SLOTS>
    </CONCEPT>

  • IChat can't send file, please help

    After updating to OSX 10.4.4 my iChat cannot send any file, but it allows me to receive it. When I try to send the message to another person, it shows that it is waiting for me to start and in a couple seconds later I would get an error message stating that the other person did not accepth the file.
    I have seen these problem around the forum, but yet any of them have been answer.
    Is it the new 10.4.4 that is causing it? Anyone with solution please help.
    P.S. I also tried open port 5190, but it is not working.

    Hi APT015,
    Ok.
    Most Connection devices come, as default, with DHCP turned on.
    This means the device (Linksys and Airports) are their own server giving out Addresses dynamically to your Local Network.
    As by default most devices have port 1-1024 open and not part of any methods to open them you tend to be able to add a whole bunch of DHCP server together and applications that use ports below the 1024 threshold can work (web browsing, Mail, FTP to upload Web pages to a server or download files)
    Having IP given out by different devices creates Subnets on your LAN.
    Because of the way routers in particular handle IP addresses given out by previuos devices your computer can recieve more than one IP address on the LAN (Although only one can be seen on the Mac)
    Pause.
    So you have several things to deal with here.
    1) The Mac Firewall if it is On.
    2) The DHCP serving on your Network.
    3) The way the method you use of Opening the ports in one device effects the result of opening the ports on the other device.
    To Solve 1) look at the table on this page
    Also look at the instructions and Pics of the Firewall on this one
    To solve 2) do this:
    Open Airport Admin Utility found in Application/Utlities
    Log on to the Airport
    Go to the NEtwork tab
    Deselect "Distributing Addresses"
    Apply cahnges
    As this also turns of NAT in the Airport it adds to solving 3)
    For Finishing 3) completely do this:
    Type 192.168.1.1 in to your web browser like a page address
    Type Admin for both User ID and Password.
    Go to the Adminsrtaion tab
    Enable UPnP
    Save Settings.
    For other people following this go to http://portforward.com/routers.htm and follow the links to iChat and the Pics and Instructions for your modem.
    You should use this site to see if the Pics show where the UPnP is if your Modem has it, not to mention finding out the default IP address of the modem and the default User ID and Passwords.
    What this achieves is the modem is still doing DHCP to your Network. It is opening the ports by UPnP. The Airport is now basically a wireless access point. The Airport and computer now have IP addresses from the Modem only.
    Ralph

  • I updated my ipad2 to iOS 6 how can I uninstall it       Please help me

    I updated my iPad 2 to iOS 6 how can I uninstall it to become iOS 5.1.1 please help me

    Apple does not provide for downgrades! See more like this opposite.

Maybe you are looking for

  • Windows 8.1 lock screen

    Hi there, I would like to ask about lock screen. Normally, when I turn the screen off using function key, it will lock the screen and when I press any key, windows will ask for authentication. But after receive some updates, I cannot not do this anym

  • AICS2 flattening causes massive color shifts in nontransparent objects

    Seems like I should find this here, but searching for "flatten" didn't do the trick. And I apologize for not knowing the answer to such a simple question. It's just never come up for me before! I have several files all created the same way that and P

  • Could not create JCOClientConnection

    Hello, I've created a WD application that use JCO connection. I successfully run it from the web dynpro content administrator. and the ping/test for the MODELDATA is successful. but If I copy the app. url an paste it to different browser, or if I try

  • Work processes died and dispatcher not starting

    Any idea on the following error causing dispatcher not to start? The following excerpt is taken from the trace log. Any clue would be very helpful. Thanks. Mon Mar 03 11:44:02 2008 CCMS: start to initalize 3.X shared alert area (first segment). ERROR

  • Approval Form Display as ITS Service

    Hi, I have been using SAP 4.7 which has external ITS.I am workflow consulatant.We have been implementing ESS for Customer.I have a customized workflow were an Approval form has to be sent to manager.The approval form has to be displayed as an service