cancel
Showing results for 
Search instead for 
Did you mean: 

Configure log file template.

Former Member
0 Kudos

I want to configure log file template for ALOG file in transport log directory. Could you please tell me where to start it?

Thanks,

Anirban.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai,

Do you have CCMS agents installed in your system?

If yes create a logfile under the directory /usr/sap/tmp/logmon.

For the log file template naming convention see the below link, under Example log file template.

http://help.sap.com/saphelp_nw04s/helpdata/EN/aa/60e143a530d642a4841a45499605e0/content.htm

After creating the template you need to add this file path in the sapccmsr.ini file under the Instance directory of your system. For example:/usr/sap/<sid>/DVEBMGS50/log/sapccm4x/sapccmsr.ini

After adding the template file path name into this ini file restart the CCMS agent.

The template file should contain the path of the logfile and the exception which you want to catch along with the corresponding MTE.

For example the log file template for creating alerts for the missing statistics will look like the below:

LOGFILE_TEMPLATE

DIRECTORY="/oracle/sid/sapcheck"

FILENAME="*.sta"

MTE_CLASS="CCMS_ORA_perf_opt_mocl"

PATTERN_0="BR0986W Index SAPR3"

VALUE_0=RED

MESSAGECLASS_0="SAP-T100"

MESSAGEID_0="rt 584"

.

Note: the last line should contain a dot as in bold character.

You can get all the details in the above link.

Regards,

Yoganand.V

Edited by: Yoganand Vedagiri on Mar 20, 2009 12:37 PM

Former Member
0 Kudos

Thanks.

Is there any alternative way to do the job if I don't have access to the OS level? I want to do the same through application level.

Regards,

Anirban.

Former Member
0 Kudos

Hai,

No, from application level it is not possible.

You need to do it from OS level.

Regards,

Yoganand.V