[ 
https://issues.apache.org/jira/browse/SLING-13137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aswin Avinippillil Dhanan updated SLING-13137:
----------------------------------------------
    Description: 
Improve diagnostics when file logger creation fails in RequestLoggerService.

Currently, when an IOException occurs during file logger creation, the failure
does not provide sufficient context for troubleshooting.

This change logs the IOException using SLF4J and includes the resolved absolute
log file path, making configuration issues easier to diagnose while preserving
the existing fallback behavior.

 

Pull request:
https://github.com/apache/sling-org-apache-sling-engine/pull/73

  was:
Improve diagnostics when file logger creation fails in RequestLoggerService.

Currently, when an IOException occurs during file logger creation, the failure
does not provide sufficient context for troubleshooting.

This change logs the IOException using SLF4J and includes the resolved absolute
log file path, making configuration issues easier to diagnose while preserving
the existing fallback behavior.


> Improve logging when file logger creation fails in RequestLoggerService
> -----------------------------------------------------------------------
>
>                 Key: SLING-13137
>                 URL: https://issues.apache.org/jira/browse/SLING-13137
>             Project: Sling
>          Issue Type: Improvement
>          Components: Engine
>            Reporter: Aswin Avinippillil Dhanan
>            Priority: Minor
>
> Improve diagnostics when file logger creation fails in RequestLoggerService.
> Currently, when an IOException occurs during file logger creation, the failure
> does not provide sufficient context for troubleshooting.
> This change logs the IOException using SLF4J and includes the resolved 
> absolute
> log file path, making configuration issues easier to diagnose while preserving
> the existing fallback behavior.
>  
> Pull request:
> https://github.com/apache/sling-org-apache-sling-engine/pull/73



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to