In Salesforce Commerce Cloud (SFCC), logs refer to the record of system events and transactions that occur in the platform. The logs can be used for troubleshooting, auditing, and performance analysis.
Some common types of logs in SFCC include:
System Logs:
System Logs in Salesforce Commerce Cloud (SFCC) are log files that record events related to the overall functioning of the platform.
They provide information about the system’s behavior and help with troubleshooting, auditing, and performance analysis. Some common types of system logs in SFCC include:
Server Logs:
Record events related to server operation, including server startups and shutdowns.
Platform Logs:
Record events related to the platform, including system errors and warnings.
Application Logs:
Record events related to the application, including system errors and warnings.
Integration Logs:
Record events related to integrations with external systems, such as payment gateways and shipping providers.
Database Logs:
Record events related to database operations, including updates, inserts, and deletes.
Security Logs:
Record events related to security, including login attempts and password resets.
Backup Logs:
Record information about system backups, including dates, times, and backup sizes.
Application Logs:
Application Logs in Salesforce Commerce Cloud (SFCC) are log files that record events related to the application, including system errors and warnings.
They are used to track the behavior of the application and help with troubleshooting, auditing, and performance analysis. Some common types of application logs in SFCC include:
Error Logs:
Record errors that occur during the execution of the platform, including system crashes and unhandled exceptions.
Debug Logs:
Provide detailed information about system behavior during the execution of a particular task.
Performance Logs:
Provide information about the performance of the platform, including page load times and system resource usage.
Access Logs:
Record information about user access to the platform, including login attempts and page views.
Custom Logs:
Allow developers to create custom log entries to track specific events or data.
Batch Logs:
Record information about batch jobs, including start and end times and status updates.
Notification Logs:
Record information about notifications sent to users, including email and SMS messages.
Debug Logs:
Debug Logs in Salesforce Commerce Cloud (SFCC) are log files that provide detailed information about system behavior during the execution of a particular task.
They are used to diagnose problems and help with troubleshooting, auditing, and performance analysis. Some common types of debug logs in SFCC include:
Request Debug Logs:
Record detailed information about requests made to the platform, including URLs, headers, and payloads.
Execution Debug Logs:
Provide a step-by-step account of the execution of a particular task, including function calls and variables.
Performance Debug Logs:
Provide information about the performance of the platform, including page load times and system resource usage.
Error Debug Logs:
Record detailed information about errors that occur during the execution of the platform, including stack traces and error messages.
Custom Debug Logs:
Allow developers to create custom log entries to track specific events or data.
Performance Logs:
Performance Logs in Salesforce Commerce Cloud (SFCC) are log files that provide information about the performance of the platform, including page load times and system resource usage.
They are used to monitor the health of the platform and help with troubleshooting, auditing, and performance analysis. Some common types of performance logs in SFCC include:
Request Performance Logs:
Record information about the time it takes to process requests made to the platform, including response times and server processing times.
Page Load Performance Logs:
Provide information about the time it takes to load pages on the platform, including server response times and client-side rendering times.
Database Performance Logs:
Record information about database operations, including query execution times and resource usage.
Server Performance Logs:
Provide information about the performance of the server, including CPU and memory usage.
Custom Performance Logs:
Allow developers to create custom log entries to track specific performance metrics.
Access Logs:
Access Logs in Salesforce Commerce Cloud (SFCC) are log files that record information about user access to the platform, including login attempts and page views.
They are used to track user activity and help with auditing, security, and performance analysis. Some common types of access logs in SFCC include:
Login Logs:
Record information about user logins, including dates, times, and IP addresses.
Page View Logs:
Record information about page views, including URLs, referer headers, and user agents.
Search Logs:
Record information about user searches, including search terms and results.
Purchase Logs:
Record information about purchases, including items purchased and payment information.
Error Logs:
Record information about errors that occur during the execution of the platform, including stack traces and error messages.
Custom Access Logs:
Allow developers to create custom log entries to track specific events or data.
Error Logs:
Error Logs in Salesforce Commerce Cloud (SFCC) are log files that record information about errors that occur during the execution of the platform.
They are used to diagnose problems and help with troubleshooting, auditing, and performance analysis. Some common types of error logs in SFCC include:
Server Error Logs:
Record information about server-side errors, including stack traces and error messages.
client Error Logs:
Record information about client-side errors, including JavaScript errors and browser console messages.
Integration Error Logs:
Record information about errors that occur during integrations with external systems, including APIs and databases.
Order Processing Error Logs:
Record information about errors that occur during the processing of orders, including payment errors and fulfillment errors.
Custom Error Logs:
Allow developers to create custom log entries to track specific errors or issues.
Error logs can help with troubleshooting by providing detailed information about the root cause of a problem. They can also help with performance analysis by providing information about any bottlenecks or slowdowns in the platform.
Custom Logs:
Salesforce Commerce Cloud (SFCC) are log files that can be created by developers to track specific events, data, or metrics that are not covered by the standard log types.
Custom logs can be used to log information about custom code or integrations, or to track specific business metrics such as website traffic or product popularity. Some common uses of custom logs in SFCC include:
Debugging Custom Code:
Logging custom messages to help with debugging custom code, such as custom pipelines or scripts.
Tracking Custom Metrics:
Log information about custom metrics, such as website traffic or product popularity.
Integrating with External Systems:
Logging information about integrations with external systems, such as APIs or databases.
Auditing Custom Events:
Log information about custom events, such as user signups or product purchases.
Custom logs can be created using the SFCC script API and can be configured to log to different file types, such as JSON or text.
It is important to monitor custom logs regularly and respond to any errors or warnings promptly to ensure the smooth operation of the platform and provide a positive user experience.
Read More
https://scribblersden.com/what-is-cache-and-how-it-works/
Thank you