Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Portal Logs

WHat is the path to find portal logs in AIX

replied

Hi Bhupinder Singh,

please Ref the note Note 759853 - KMC 6.0 SP2: log information

Symptom

A.) Location of log file for error analysis

B.) Location of config_audit log file for error analysis

C.) Activate logging for specific classes

Other terms

6.20

Reason and Prerequisites

KMC 6.0 SP 2

Solution

A.) Location of log file

knowledgemanagement.*.log files are stored in '..\usr\sap\<J2EE instance>\j2ee\<server>\cluster\server\managers\log\portal\logs'

B.) Location of config_audit log file for error analysis

config_audit.*.log files are stored in '..\usr\sap\<J2EE instance>\j2ee\<server>\cluster\server'

C.) Activate logging for specific classes

Find and open logging.properties

This file is located in:

'..\usr\sap\<J2EE instance>\cluster\server\services\servlet_jsp\work\ jspTemp\irj\root\WEB-INF\portal\portalapps\com.sap.netweaver.bc.util\lib'

Edit logging.properties

See under '# Default logging specifications' section '# Add your own JAVA classes and packages below' and enter the required class name and set appropriate log level (DEBUG in most cases).

A restart of J2EE is NOT required to activate changes.

Log output:

The logger output is written according to parameter 'log[File].pattern'. Default is the knowledgemanagement.*.log file as specified in A.) .

Attention: Be aware to DISABLE logging after getting desired information.

Example:

com.sapportals.wcm.repository.service.timebasedpublish.wcm. TimebasedPublishServiceManager.logs = log[File] com.sapportals.wcm.repository.service.timebasedpublish.wcm. TimebasedPublishServiceManager.severity = DEBUG

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question