cancel
Showing results for 
Search instead for 
Did you mean: 

Log Files

Former Member
0 Kudos

Hi,

Where I can see the log files for ISA application?

I want to see the log to get an idea on the application flow. What I mean is when a button is clicked I want to know what are the actions, java classes are been called till the request is sent to backend.

Please help me.

Regards

MQ

Accepted Solutions (0)

Answers (2)

Answers (2)

mark_foley
Active Contributor
0 Kudos

Hi there,

If you go to the XCM and select theloggin option you will be able to create a log in the application for your specific actions.

Go to

http://server:port/b2b/admin

Select => logging

Start the application

When you want to start logging click the start logging button.

This will log all your actions to a file that you can view/downlaod.

Regards

Mark

Former Member
0 Kudos

Hi,

I cannot see the "Start logging" button after login into http://server:port/b2b/admin and selecting logging.

I can see only ReLoad, Create Configuration, Show FIles, Delete and Edit Config buttons in Logging.

One more doubt is I had a text box in the screen and it contains "com.sap.isa". Does it mean only the files having this namespace will be written to the log file.

Regards

MQ

mark_foley
Active Contributor
0 Kudos

What release and SP level are you on? Do you see a session logging tab in this screen?

Mark

Former Member
0 Kudos

Hi,

No, I am not able to see the logging tab in my screen. I had only Log Configuration tab in that screen.

We are using CRM 5.0.

Regards

MQ

former_member186148
Active Participant
0 Kudos

Hello MQ!

Are you trying to get log files in standart (non-modified) CRM ISA application or in modified CRM ISA application?

regards, Lev

Former Member
0 Kudos

Hi Lev,

Our application is customized as per the requirements. I need log files for both standard and customized one.

Regards

MQ

former_member186148
Active Participant
0 Kudos

Hi MQ!

As I know, you can't see "logging" tab since it showed only for applications with names "b2b", "b2c", "isauseradm", "shopadmin", and these names are hardcoded.

If you want to see tab "logging" you should do these:

1) open file logging.jsp from DC crmtcweb~core

2) search line

String supportedApps[] = {"b2b", "b2c", "isauseradm", "shopadmin"};

(or something similar). Position of this line should be 24 or near

3) add name of your application in this list, e.g.:

String supportedApps[] = {"b2b", "b2c", "isauseradm", "shopadmin", "b2b_mod"};

where "b2b_mod" is the name of your app:

http://server:port/b2b_mod/b2b/init.do

4) save file, rebuild and deploy your app

P.S.: may be this issue resolved in latest SPs of CRM 5.0.

I hope Mark Foley will read this message.

Regards, Lev

Former Member
0 Kudos

If, in the b2b_mod application's web.xml file, you have changed the context-parameter application.name, then you might get into these types of issues.


    <context-param>
        <param-name>application.name</param-name>
        <!-- please keep <param-value>b2b</param-value> together in one line without blanks for build.xml copy targets -->
        <param-value>b2b</param-value>
        <description>Name of the web application. This value must not be
            changed. It is used in XCM configuration files and for CCMS reporting.</description>
    </context-param>

It says, "This value must not be changed. It is used in XCM configuration files and for CCMS reporting."

former_member186148
Active Participant
0 Kudos

Hi Easwar!

I've checked our web.xml file. Parameter "application.name" didn't changed. There may be some some confusings since we have two things called "application name".

For example:

http://server:50000/b2b_mod/b2b/init.do

http://server:50000/b2b_mod/admin/index.jsp

To eliminate confusings let's call "b2b", "admin" etc a "subapplications". Then we have our modified application B2B_MOD which contains a set of predefined subapplications (B2B, B2C, ADMIN, ISAUSERADM and some more). Now I can say that parameter from web.xml mentioned by you regarding to the supapplications and of course cannot be changed. But in my previous post I've talked about applications. Please have a look at the extended fragment from logging.jsp:

		String currApplication = request.getContextPath().toLowerCase().substring(1);
		String supportedApps[] = {"b2b", "b2c", "isauseradm", "shopadmin"};
		for(int i = 0; i < supportedApps.length; i++) {
		 	if(currApplication.equals(supportedApps<i>)) {
		 		sessionLogSupported = new Boolean(true);
		 		break;
		 	}
		}

There is a checking a name of application rather than subapplication.

Sorry if my english was not so good. I've tried to make my post clear for understanding

Regards, Lev

Former Member
0 Kudos

Hi Lev,

Thanks for your suggestion. I am able to see logging tab now.

But when I am not able to see the action classes that are being called when I perform some action.

Regards

MQ

former_member186148
Active Participant
0 Kudos

Hi MQ!

"But when I am not able to see the action classes that are being called when I perform some action."

Sorry but I cannot understand what do you mean... which classes you don't able to see? Please clarify your question.

regards, Lev

Former Member
0 Kudos

Hi Lev,

I want to know the java action classes when an action is performed.

For example, if I click some button I want to know which java action is called.

I am not able to see this information in the log file.

Regards

MQ

Former Member
0 Kudos

If you have access to the JSP and js files for the page from where you are clicking the button/link, get the action path from either the form action or the <isa:webappurl....> and then find this string in the config.xml. You can find the Java action behind it.

Pradeep

former_member186148
Active Participant
0 Kudos

Hi MQ!

Now you can trace your application. Also you can try to create a logging configuration with "Path" or "Debug" severity.

For all these tasks please refer to note 1090753.

P.S. it is a good idea let to users know which answers were be helpful to you

regards, Lev

Former Member
0 Kudos

Check this note Note 1090753 - Creation of logs for WebChannel/E-Commerce applications