Comprehensive Explanation
Adobe Experience Manager provides configurable logging through Apache Sling's logging infrastructure, which supports defining dedicated loggers and log writers for individual services or Java packages.
The principal benefit of assigning a separate log file to a particular service is the ability to isolate its diagnostic messages from general application logging.
For example, a developer investigating a custom OSGi service can configure an Apache Sling Logging Logger Configuration that targets the service's package and directs its messages to a dedicated log file.
A corresponding Apache Sling Logging Writer Configuration determines the physical output file, rotation behavior, and retention settings.
This arrangement makes troubleshooting more efficient because developers can review service-specific events without filtering through unrelated messages generated by the rest of the AEM application.
Option A is incorrect because increasing log-file size is not the purpose of creating a dedicated writer.
Option B is incorrect because the requirement emphasizes isolating one service rather than consolidating messages from multiple services.
Option C is incorrect because configuring a separate writer does not inherently enable asynchronous logging.
Adobe explicitly documents that service-specific logging is particularly useful during development and testing, when additional diagnostic detail may be required.
Dedicated logging also allows a service-specific log level to be configured without increasing logging verbosity across the entire application.
Official Adobe Reference: Logging — Loggers and Writers for Individual Services; Creating Your Own Loggers and Writers.