Choosing the right log file for a debugging need
Key Takeaway
Script Logger calls write to custom log files, one per level. Info and debug messages reach custominfo and customdebug only after you enable those levels in Custom Log Settings, while customwarn is always logged to file.
B2C Commerce writes many separate log files, and each one has a narrow purpose, so debugging starts with picking the right file. The platform writes system logs. Your own scripts write custom logs through Logger calls. Replication, import and export, batch processing, quota and security activity each have their own logs as well.
System logs and custom logs
System logs are written by the platform and are turned on by default. You can't configure them in Business Manager. Changing system logging requires Salesforce Support.
Custom logs hold the messages your own script code writes through dw.system.Logger. You control them at Administration > Operations > Custom Log Settings. Custom log file names begin with custom.