XSJS Tracing - Trace files do not show trace levels other than 'error'

Hi!
I'm doing some experiments with server side javascript tracing on Hana. I created a small xsjs file that searches for some parameters on the web request (first name, last name and email) so I can call a DB procedure later. As I wanted to make sure that client data was arriving to the server properly, I added some trace calls using $.trace as you can see in the snipped below.
After some time I noticed that just $.trace.error calls were added to xsengine*trc trace files. In other words, information, debug and warnings were not being included on the trace files.
$.trace.info("INFO: Register_user.xsjs called");
$.trace.error("ERROR: Register_user.xsjs called");
if($.request.method === $.net.http.POST || $.request.method === $.net.http.GET) {
    var first_name = $.request.parameters.get("first_name");
    var last_name = $.request.parameters.get("last_name");
    var email = $.request.parameters.get("email");
    $.trace.error("ERROR: First Name:" + first_name);
    $.trace.error("ERROR: Last Name:" + last_name);
    $.trace.error("ERROR: Email:" + email);
    $.trace.warning("WARNING: First Name:" + first_name);
    $.trace.warning("WARNING: Last Name:" + last_name);
    $.trace.warning("WARNING: Email:" + email);
    // send response
    $.response.contentType = "application/json";
    $.response.status = $.net.http.OK;
    $.response.setBody(" { \"message\" : \"User registered successfully\"} ");
  } else {
    // unsupported method
  $.trace.error("ERROR: Method was not POST");
    $.response.status = $.net.http.INTERNAL_SERVER_ERROR;
A small piece of a xsengine*.trc file is shown below.
[4940]{-1}[-1/-1] 2014-09-08 20:37:10.453384 e xsa: demo.user_c register_user.xsjs(00026) : ERROR: Register_user.xsjs called
[4940]{-1}[-1/-1] 2014-09-08 20:37:10.453690 e xsa: demo.user_c register_user.xsjs(00037) : ERROR: First Name:war
[4940]{-1}[-1/-1] 2014-09-08 20:37:10.453710 e xsa: demo.user_c register_user.xsjs(00038) : ERROR: Last Name:ning
[4940]{-1}[-1/-1] 2014-09-08 20:37:10.453796 e xsa: demo.user_c register_user.xsjs(00039) : ERROR: Email:[email protected]
[4940]{-1}[-1/-1] 2014-09-08 20:58:21.854254 e xsa: demo.user_c register_user.xsjs(00024) : ERROR: request path: /demo/user_creation/logic/register_user.xsjs
[4940]{-1}[-1/-1] 2014-09-08 20:58:21.854285 e xsa: demo.user_c register_user.xsjs(00026) : ERROR: Register_user.xsjs called
Here are my doubts:
Is there any standard filter for trace calls (which for example would show just error messages as default)? If there is, where to change it?
Are there separate trace files for each trace level?
Looking at the beginning of each row on the trace file, are the numbers from the left side of the timestamp somehow relevant to determine what kind of trace leve is shown? What do they mean? (the sequence of [4635]{-1}[-1/-1] )
Related (and useful) links which couldn't solve the problem:
How to print from XSJS to Console
JSDoc: Namespace: trace
I'm using:
Cloudshare (SAP HANA SPS6 server)
Hana Studio Version: 1.80.3
Thanks for the support!

Hi Fabio,
You need to do some configurations. Please have a look at Trace Server-Side JavaScript Applications - SAP HANA Developer Guide - SAP Library and View XS JavaScript Application Trace Files - SAP HANA Developer Guide - SAP Library
Best regards,
Wenjun

Similar Messages

  • Mail 4.5 not showing any dates other than "Today" and "Yesterday"

    All of my mail messages are dates 5-01-13 except thos that are "Yesterday" ort "today.  The settings in my System Preferences are correct and all other programs are O.K.  Only mail seems to be the problem.  Any ideas?
    Sass

    Hi there,
    I'm also having this exact problem. I have Mail 6.6 running on Macbook air 11" OS X 10.8.
    All the emails apart from today and yesterdays show the date as 05-01-2013 in the top right hand corner of the mail window scroll list, i.e. date in blue. Only when you click on a specific email to show the whole conversation/message does it then show the correct date and time in the top right hand corner of the message window. 
    Any ideas anyone?? So annoying when trying to search for emails!
    Cheers,
    Prina

  • Some music files do not show up in google play music app library.  I did clear cache/data and restarted phone.  The music is stored on the SD card.  Most of the music in the library is in the same folder on the sd card.  I can play the song from file mana

    some music files do not show up in google play music app library.  I did clear cache/data and restarted phone.  The music is stored on the SD card.  Most of the music in the library is in the same folder on the sd card.  I can play the song from file manager, but it still is not in the music library in play music.

    Cyndi6858, help is here! We'd be happy to help figure this out. Just to be sure though, the Droid Maxx should not have an SD card. Is this the Droid Razr Maxx? How did you add the music to the device? Are you able to see the files and folders located on the SD card or device when plugged in?
    Thanks,
    MichelleH_VZW
    Follow us on Twitter @VZWSupport

  • NEF Files Do Not Show up in Lightroom.

    Hello,
    I bought a new Nikon D750 yesterday and my raw files do not show up in Adobe Lightroom.  The do show up in Photoshop and Bridge.  I have creative cloud and it says it is "up to date"  Does anyone know how I can get Lightroom to open the files?  Thanks.  Father Hungry.

    Install Lightroom CC 2015 via your Adobe Creative Cloud app.

  • I have an iPod Touch but I currently don't have a PC.  I found an app that would allow me to connect to my network drive and I was able to transfer music files to it.  These files do not show under the Music app and I can't find any way to do it.

    I need help from some Apple people. I have an iPod Touch and I wanted to load it up with some fresh music but I currently don't have a PC. I found an app that would allow me to connect to my 2TB network drive directly and I was able to transfer a bunch of music files to the iPod. Unfortunately, these new files do not show under the Music app and I can't seem to find any way to convince the iPod that they are music. I can play them through the file manager only. Android doesn't have this problem, any music I put on my phone is recognized as music and can be played through any of the music apps. Am I missing something or is Apple to inflexible to handle this?

    You can't. The only way to get songs in the Music app is to sync from a computer or to download from iTunes.

  • When filtering by keyword and using "Edit In" with Photoshop, edited file does not show up in list

    When I do an "edit in" using CS5 and save it, the edited file does not show up in my LR4 preview window.
    Message title was edited by: Brett N

    There are two distinct modes by which Edit In... may first open an image into PS: as a fully pre-converted rendered file; or as an on-the-fly converted image in memory.
    (When LR opens a PS-edited image a second time into PS, using "Edit Original", the former option is always used.)
    In the latter case, it is ACR which does this on-the-fly conversion, working from the original image (as imported into LR) plus your subsequent LR adjustment metadata. This means ACR compatibility with LR becomes an issue - as it is not, with the pre-rendered file option.
    There is a useful clue to which mode is being used:
    the title of the PS document window, in the case of the on-the-fly conversion, still shows the name of the Raw file (or whatever) that you started with in LR... no file has been saved as yet, to say any different. You can Save or Save as, wherever and under whatever name, and from now on LR will look there for your edited image. Or if you close unsaved, LR has no edited image to show at all.
    the title of the PS document window in the pre-rendered case, is the name of a file already saved on disk and already showing in LR. If you then saved this elsewhere, you would merely make a duplicate which LR cannot know about - and if this duplicate is the one which contains your PS work, LR will accordingly not show that. It is busy showing the content of the specific file that was passed to PS.
    So, if inside CS5 your document is called something like IMG23334.dng - you can save it wherever you like. If inside CS5 your document is called something like IMG23334-edit.tif - you will have to save your changes back to that exact same file, in order for them to be seen in LR.

  • Rendered html pages in results file(html) not showing the images of origina

    hi,
    rendered html pages in results file(html) not showing the images of original page
    when i click on rendered html pages of different html section of a results file.
    both master and tested as well.
    thx
    pasumarthi

    By design, the report will not show the images, will not apply imported css or javascript files and will not show framesets. Also, in the case that an image is shown there is no guarantee that that was the image that was seen when recording/playback the script.
    The rendered html pages that are shown in the report only contains the structure of the html page. If an image is shown the image will be a reference to the location of the image and not a saved copy of the image as part of the report. If the website has a simple structure this can give an idea of what was different. If the website relies extensively on images, stylesheets or javascript to present the information then this report feature becomes less useful.
    Few weeks ago I requested a feature request in order to be able to see in the report the page exactly as it was when recording the script and exactly as it was when the script was played back. In the way that the feature request was written it specifies the use of screen captures or saving the page as a pdf file.
    Regards,
    Zuriel

  • Our illustrator files are not showing up when uploaded to creative cloud.

    Our illustrator files are not showing up when uploaded to creative cloud. They are visible sometimes when we turn on and off the layers. Please help thanks.

    If you feel that you have enough evidence of the symptoms, use the feedback at http://www.apple.com/feedback/itunesapp.html to let Apple know. The "feedback type" of "bug report" has been removed from the iTunes feedback, so I suggest you use use "Other".
    You will not receive any feedback from them, but they do read the submissions and act upon them. It can take a while, and more than one iTunes update before the issue is resolved.

  • How open a file and not showing window?

    I write a script to do some work automatic,
    for Indesign script, its application open method could open a file and not showing window,
    the open method has a parameter [ShowingWindow] (if true, show the document window).
    That is good a feature for me.
    But with Illustrator, the application open method hasn't the same feature.
    Open
    (files as String,
    [documentColorSpace as AiDocumentColorSpace],
    [options as Object])
    and for OpenOptions properties, there is not useful information for me.
    Is there any other methods could do that?
    Any help is greatly appreciated.

    Thank for your reply.

  • Par file does not show up in iView

    Hi,
    I created a small project and exported as PAR file via system admin -> support ->   admin console -> portal runtime -> upload .
    The file is loaded into the server but when I go to create a iView based on this PAR file my PAR file does not show up as an available option. Am i doing something wrong or missing a step?
    thanks
    Salim

    https://www.sdn.sap.com/irj/sdn/collaboration
    Please find the new link.
    Thanks
    Subramanya

  • Jdeveloper visual editor do not show images and other component shapes

    I used jdeveloper(10.1.3.3.0) to create an ADF BC application, I create a jsf jsp file and drag and drop components from ADF Faces Core to this file visual editor, but jdeveloper visual editor do not show images and other component shapes.
    Could you tell me how I can fix this problem?
    Thanks,
    Mike

    Actually, I need to make a dummy change to the jsp file and then it will display boxes representing the objects in the visual editor whereas I get an exception in the log:
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This does not talk much to me !
    Thanks

  • Local Files Will not Sync to iPhone and Gets Error.....

    DescriptionI load local files to my spotify playlist, so that I can play them in the car when listening to spotify on my iPhone 6. When I go to play the song on the computer through spotify it works fine from "local files" but when I log onto my iPhone I do not see the files anywhere. It does not sync or play, even when I add the song to a private offline playlist. I also cannot get the local files to play from my computer on my phone. When I select to play sound from my phone not the computer speaker it shows up on my phone with an error "Song not Synced. If you own the song, you can sync it from your computer. I have tried multiple ways and still to no avail. Can someone help me? A more detailed description, using numbered steps1. Added the source of the local folder for local files on my computer spotify; logged out and logged back in2. Went to spotify on my phone and downloaded recent update and signed into spotify.3. Tried playing the song from local files, it was not listed.4. Tried playing song from a private offline playlist; would list but it was greyed out and said I was not synced.5. Tried rejoining my wi-fi on both computer and phone; connected fine.6. Tried playing local file from spotify on computer; plays fine.7. Tried playing local file on computer but project it to play on iphone speaker; same error message as before.  What I expected to happenMy files to load to "local files"; they are in the right format mp4. Then I wanted to be able to add it to playlists and play it from my phone. What actually happenedLocal files do not show up on my Spotify on my phone. It says an error message about not syncing right and the songs put into any of the private offline lists are greyed out. My iPad/iPhone modeliPhone 6 Device’s Operating System8.4 Is your device jailbroken?No Approximately how many playlists do you have?Fewer then 15 My mobile Spotify version3.6.0.923 My desktop Spotify version (if applicable)1.0.10.107 My provider and countryVerizon

    Hi,I have had a similar problem with my Android (4.4.4) phone. Apparently Spotify discontinued to support the upload and streaming of local files!!! I don't understand why, but I'm going to discontinue my premium membership because of this. Below is the email I got from them:"Hello,
    Thanks for getting back in touch with your feedback and your clarifications on the issue. That was very helpful for us!
    Our latest Spotify Version doesn't support the upload and streaming of local files. :( This was a feature in one of our previous Spotify Versions. :)
    Still, this sounds like a great idea: to get back this feature! Please feel free to share it on our ideas board on our Community Site.
    You can get other users to show their support by voting on the idea. We’ll keep everyone updated on its status. Maybe your idea could even make it into the app some day!
    Do not hesitate to get back to us if anything else comes up in the meantime. We will always do our best to help you.
    Have an amazing day,
     Spotify Customer Support"
     Here is my response:"Hi,this is a very bad management decision!Spotify is a great App, but it doesn’t provide access to all the music in the world and so people like me would like to add to their Spotify selection their own music. The fact that people are paying for a service like Spotify premium should tell you that people honor and appreciate good features and convenience.I don’t understand why Spotify would take back such an important feature. Updates are supposed to improve a product, not make it worse! Without this feature Spotify is just another music streaming platform like countless others and I don’t see the benefit any more. Therefore I will discontinue my premium membership as of the end of this month. Please contact me if this feature of uploading and streaming of local files is enabled again. Thanks"

  • 'file could not be written due to an error' when exporting jpg

    I'm working with an Illustrator file in CS2 and after a certain point it has started saying 'the file could not be written due to an error' when exporting to a jpg.
    i've tried a couple things like deleting layers and although the file is much smaller, it still says the same error when exporting.
    at its highest it was 130mb as an illustrator file and jpgs were 2-5mb.
    i''ve tried copying some of the layers into a new file but the error report still comes when i'm exporting.
    i have vector and raster based data in the file and tried turning off/deleting either of the layers and there is no difference.
    i don't understand why it's started doing this because before it had no problem at all exporting before.
    ANY IDEAS ANYONE?  I'm trying not to have to reproduce days of work to remake the file.
    many thanks,
    P

    Mylenium,
    Sounds like you know a good deal about this product.  Is there any way to restore a color profile/setting to an earlier point?
    I don't recall changing it and to tell you the truth, wouldn't be able to say which it may have been set to before - if different.
    Thanks,
    Paul

  • Getting authorization error message: Required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed.

    I have recently purchased this MacBook used and am trying to authorize it on the iTunes Store but even after uninstalling iTunes and re-installing it with a fresh copy I'm getting this error message: "The required file was not found or has a permissions error. Correct this permissions problem and try again, or deauthorize this computer if the permissions cannot be changed."  And I have no idea of where or how to fix this issue.  Any help or suggestions will be greatly appreciated.  I even tried to deauthorize this computer and got the same error message.  HELP!

    I used Terminal to change the permissions on the folder in question.  I followed the instructions in this article:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    In my case, the folder was there, so I needed the command to change permissions on the folder, not to create one.   I was hesitant to use Terminal b/c I know that if I made an error I could wipe out my hard drive or render my computer unusable.  So to be SURE I didn't make an error, I carefully copied the command from that page and *pasted* it into Terminal.  Also, before I could do anything in Terminal, I had to go change my admin password (it had been a blank password before and that's not acceptable for making changes in Terminal).  I was just super careful when entering my password or doing anything else while Terminal was open (making sure I didn't accidently hit the spacebar or another key, etc.)  And it fixed the problem right away.
    What was confusing for me was that the iTunes error message said to change permissions in the FINDER, which is what I was trying to do.  It didn't mention Terminal.  What would really be helpful is if Apple included a link to a page like this in their error message.

  • Has anyone had the error "The file could not be read due to an error" when selecting ignore or replace image links. The linked images are in Dropbox if that helps.

    I am working on a Mac 10.9.5 with Adobe CS6. My files are locally in Dropbox but once we moved files to network and tried opening the AI - the file would not recognize the original folder location. I tried ignoring the missing images but then I receive the error - The file could not be read due to an error." The same error happens when I try replacing the first missing image. I know the problem lies in the images are linked back to my Dropbox but the AI file doesn't care since it won't let me replace or ignore the image links.

    Jasion,
    Maybe a bit beside the question, but it is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky, at least for a while, but it is better to be safe than sorry.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

Maybe you are looking for

  • How to connect a macbook to an external projector?

    I would like to connect my macbook to my school's projector for presentation and it seems the projector cable at school doesn't fit into any slot in my macbook. What kind of cable do I need? I remember the cable at school is able to plug into any PC,

  • Macbook air mid2012 can use the Remote Apple Control?

    I want to know if a Macbook air mid2012 can work with the Remote Apple control. If so, how should I configure my macbook air to make it work?

  • End Date Payment Terms in Oracle Receivables

    Hi, I would like to know if a particular 'Payment Term' can be end dated even if there are invoices with - a) open receivable balance b)Unposted accounting lines.. Thanks, Madhu

  • Poor sound quality on airtunes and airport express

    I recently configured a new Airport Extreme base station and two airport expresses. I used the airport expresses to extend my network but the sound quality is very poor when I run itunes no my stero. can anyone tell me why and how to fix it. The soun

  • Converting a time from hhh:mm:ss

    I've used SimpleDate before, but I can't seem to make this work. I have results of login times for an entire month given as hours:minutes:seconds. I need to convert this to a long so I can manipulate the results acordingly. My problem is that the hou