cancel
Showing results for 
Search instead for 
Did you mean: 

How to Generate the Log information in BSP applications

Former Member
0 Kudos

Hello,

My webtemplates are running on BSP application.

Is ther any way to Generate a Log file, which should contain the template id and execution time for the webtemplate. Please let me know if there is some way in BSP to generate this kind of Log...

kind regards,

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

Do you mean BW webtemplates?

Runnin on BSP => what do you mean by this , are you running BW wemtemplates inside a BSP application frame or something like that.

Can you be little more elobarate. That will help us to help you.

Regards

Raja

Former Member
0 Kudos

Hi Raja,

Sorry for not providing clear information in my post.

Yes i mean BW webtemplates. The BW webtemplates are running inside a BSP application frame.

in this scenario, i would like to produce one logfile, which contains the time taken by webreport to execute in BSP application frame...Could you provide me a solution how can i do this?

Regards...

Ravi

athavanraja
Active Contributor
0 Kudos

Before proceeding to answer the core question.

If you want to get the time taken for a particular webtemplate to execute , talk to your basis guys , it can be obtained from their log.

The time taken is not going to be different between running the BW webtemplate in a separate browser window or within BSP application.

***************

Store the current time in a javascript variable just before the frame starts loading . (this is from the BSP application)

e.g

<script>

var currtime = now (use google to get the javascript for current time).

</script>

<iframe src="webtemplate_url"</iframe>

Within the webtemplate at the end of the template have a javascript function which gives you the current time. (this will effecitvely run after the page is rendered) and also a javascript function to return the time.

Now in your BSP application compare both the times.

(to run JS in frame from main page you can call like iframename.jsfunction - you have to take care of domain relaxation if its required)

Regards

Raja

Former Member
0 Kudos

Hi Raja,

Thanks for your response.

"If you want to get the time taken for a particular webtemplate to execute , talk to your basis guys , it can be obtained from their log."

For this i asked the basis person, he he doesn't know.

Could you tell me which log/where can i...see this log in the system?

Regards,

Ravi

former_member181879
Active Contributor
0 Kudos

Look at the online help. You are specifically interested in the features provided by the ICM layer. They have HTTP logging features, which can also log for you execution times per request. By default they log only Common Log Format (CLF), but the list of things that can be logged is actually very long.