SAP Knowledge Base Article - Public

3091459 - Service Layer Logger FAQ - CS1H2024

Symptom

This article explains how Service Layer Logger can be used. Service Layer Logger is a tool that was introduced in release 2H 2021. Purpose of this tool is to capture system logs when a transaction goes through Centralized Services. The logs are helpful to SAP Product Support and Engineering Teams for troubleshooting and resolving Centralized Services issues. Please note that it does not capture any personal data or configuration details. 

Note: Create this object only when an issue occurs when the switch for Centralized Services is selected. When the switch for Centralized Services is deselected, we don't require the logger file.  

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors Employee Central
  • SAP SuccessFactors HXM Suite
  • Centralized Services

Resolution

Service Layer Logger allows logging information based on customer configuration of the Service Layer Logger Configuration MDF object. When this MDF object is active in customer instance, information (info/error) is added and it gets reflected in server logs. Once enabled, logger has hard-coded activation period of 15 minutes (from configured start time) - meaning you'll have 15 minutes to reproduce the issue to capture the logs before it gets auto-disabled.

Time format is hh:mm:ss. 

Steps to enable/disable/re-enable service layer logger:

To enable logger for first time:

  1. Access Manage Data from Admin Center
  2. Create New: HrisServiceLayer Logger Configuration
  3. Provide details as below:
    1. Code: HRISLOGGERCONFIG
    2. Title: HRISLOGGERCONFIG
    3. Status: Active
    4. Activate debug logger: Yes
    5. Start time for debug log: Provide date & time(in 24-hour time format) when logger is to be activated.
      1. By default logged-in user's timezone is set. Thus, logged-in user can enter their current time if debugger is to be activated now.
      2. Logger will remain active for 15 minutes from time provided (unless switched off using other flags for this object).
  4. Click Save
 

To disable logger:

  1. If 'Start time for debug log' is after 15 minutes of current time, system (internal business logic) considers debug logger as inactive.
  2. Set 'Activate debug logger' to No and save the object.
 

To re-enable logger: 

  1. Find existing object for 'HrisServiceLayer Logger Configuration' in Manage Data
  2. Use Take Action > Make Correction
  3. Set Activate debug logger: Yes
  4. Provide new 'Start time for debug log'
  5. Save

See Also

Keywords

CS2H2022, CS1H2022, CS2H2021, CS, Centralized Service, SL, log, debug, tool, logger, b2111, b2205, 2211 , KBA , LOD-SF-EC , Employee Central , LOD-SF-EC-JOB , Job Information , LOD-SF-EC-CMP , Compensation Information & One-Time Bonus , LOD-SF-EC-ADM , Admin Tools (EC Core only) , LOD-SF-EC-EDP , Import Employee Data (EC Core only) , LOD-SF-EC-PER , Person Data (All Person Data Types) , How To

Product

SAP SuccessFactors Employee Central 2111 ; SAP SuccessFactors Employee Central 2205 ; SAP SuccessFactors Employee Central 2211 ; SAP SuccessFactors HCM Suite all versions