Skip to Content
author's profile photo Former Member
Former Member

Configure log file template.

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 20, 2009 at 11:35 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.