cancel
Showing results for 
Search instead for 
Did you mean: 

Application logs

former_member188073
Active Participant
0 Kudos

Dear Netweaver Family,

I had an observation during a new assignment regarding logs written by a custom application.

This is an Eclipse based custom application deployed as EAR on the landscape (DEV, QUA and PRD). The application team have given the path for logging as

 /app/log/app.log

.

My PRD instance has 2 additional app servers. The log files are getting generated on the given path on all 3 nodes (CI and app server) and on the same drive. I fail to understand this.

Should everything be written on the CI node folder.

Now the problem is what folders do we allow access to the application team to check the logs. this is custom application and has custom procedures for logging so we cannot check NWA for logs as of now.

Also in case of multiple Server nodes and multiple application hosts, how do you know which default trace to check.

Varun

Edited by: Varun Biswas on Nov 29, 2011 10:58 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Varun,

The log's generated on given path on each app node sound's rite and you can give access to log folders on each server node (if your OS team is ok with it).

Thanks,

Arjun

former_member188073
Active Participant
0 Kudos

Thanks Arjun,

But ideally we have to share only one folder with the application team. I know from my earlier experience that I used to give access to one folder only. I am not sure how this is happening. I am just curious about the mechanism. And how is it choosing the drive for this storage. It has not also been shared as well like saploc or sapmnt neither does is come inside usr/sap/

Otherwise I have three suggestions lines up for the application team, which they have agreed to try:

1. Instead of marking the path as generalized /application/log/application.log mark it full drive lettered path like

d:\ application\log\application.log

. Here still the doubt remains that it would again write in all the app servers.

2. Marking the path with complete hostname path

//hostname.company.com/applicatino/log/application.log

. reservations are for selection of server box. OS team might not agree on CI host, but still that's perfect.

3. Configure java4l log so that everything comes in NWA itself.

Regards,

Varun