cancel
Showing results for 
Search instead for 
Did you mean: 

How to get better access (export?) to java scheduler job logs?

Former Member
0 Kudos

Hi

I am using SAP NWCE 7.31.

We have some custom jobs running on the server, and I can see them in the Java Scheduler --> Jobs screen.

I have access to select them and see the job log for each run.

One of the jobs is not performing correctly and is returning logs that are much longer than intended.

Each log has 1000 lines per page, but the table viewer only shows 10 lines at a time.

Each run has about 5 pages, therefore ~5000 lines of logging per run.

Buried somewhere in these huge files are pertinent pieces of information that we wish to identify and analyze (statistically/comparatively), in order to help work out the implications of this job not having worked correctly.

Is there a way to export or gain access to these logs such that I can manipulate the lines more readily (eg in Excel)?

Accepted Solutions (0)

Answers (1)

Answers (1)

srinivasan_vinayagam
Active Contributor
0 Kudos

Hi Andy,

Scheduler level (Java Scheduler logs)

By default, the Java Scheduler logs are logged under the /System/Server category,

at SYS_SERVER.

Handling the Size of Job Logs

The Java Scheduler allows you to manage the cumulative job log size in the database. A job

has a retention period denoting the number of days that a job log is persisted in the database.

To prevent database overflow caused by too many job logs, in the job definition’s deployment

descriptors you can configure a job’s retention period.

Regards,

V Srinivasan

Former Member
0 Kudos

Thanks Srinivasan,

How do I find/access/export this?

I have looked under the NWA log viewer, but cannot find any appropriate logs (even within "unstructured logs") that seem to be relevant; or call themselves "SYS_SERVER"; or categorise themselves as "/system/server"...

Regards

Andy

srinivasan_vinayagam
Active Contributor
0 Kudos

Dear Andy,

Navigate to find from -> J00\j2ee\cluster\server0\log\system

Former Member
0 Kudos

Great... so I need OS level access, you mean?

Therein lies a problem

srinivasan_vinayagam
Active Contributor
0 Kudos

Dear Andy,

Ya. Sure OS access require for investigation

Regards,

V Srinivasan