cancel
Showing results for 
Search instead for 
Did you mean: 

Log Files in b2b Portal

Former Member
0 Kudos

Hi Gurus

As u know log or trace file is the base point for debugging the application or for finding the problem.

I want to know while processing the application where can i saw the back end log to find out which fuction module is executing... for doing the transaction.

As per my knowledge i was found out some trace file,ie(defaulttrace0.trc).

But that file log was not updating properly and not able to saw the function module name.

If we have any idea where can we find out which function module is executing, it would be very help full for us.

Awaiting for ur valuable response...

Regards

Satish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Follow this note to configure and read log files only for your b2b portal.

[Creation logs for B2B and B2C|https://service.sap.com/sap/support/notes/1090753]

This will even log the Function modules also.

Regards,

Sateesh Chandra

Answers (2)

Answers (2)

Former Member
0 Kudos

Satish,

You can configure ISA to write custom logs. Check https://service.sap.com/sap/support/notes/1017756

-Regards

RK

Former Member
0 Kudos

Hello Satish,

If you have access to the log folders of the application (in the NW server) you can see the logs - function module called etc - in there in the runtime log. The log folder tothe application in a NW server setup is usually


    \usr
        \sap
            \<instance>
                \JC<instance number>
                    \j2ee
                        \cluster
                            \server0
                                \apps
                                    \sap.com
                                        \crm.b2b
                                            \servlet_jsp
                                                \b2b
                                                    \root
                                                        \WEB-INF
                                                            \logs

On the contrary if you are trying to write "your" custom logs, then check the Note 1017756 suggested by [RK |https://forums.sdn.sap.com/profile.jspa?userID=606854]that explains ["How to enable Internet Sales to write logs in a separate log file"|https://service.sap.com/sap/support/notes/1017756]

If you want "custom" log files then In the log settings in NW, you will add "com.infosys.quote.test" etc to define your logging IsaLocation.

In your custom classes / code, use the new IsaLocation instead of the usual default location.

Easwar Ram

http://www.parxlns.com

Former Member
0 Kudos

Hi

Thanks for ur Valuble response..

Now i am able to veiw the proper log.

Regards

Satish

prashil
Advisor
Advisor
0 Kudos

Hi Satish,

The trace files reside on WAS. You can check the \usr\sap\<instance name>\JC<instance number>\j2ee\cluster\server0\log

The trace file has a limit after which it creates another one.

Lets say if the trace file has limit of 10,641KB then after this range has complete it will created another log.

It will be good to arrange the log folder as modified, which you can easily see which file is modified while executing.

Also you need to set the trace level as debug which will give you details logs created.

Hope it helps

Prashil