[
https://issues.apache.org/jira/browse/VELOCITY-916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claude Brisson reopened VELOCITY-916:
-------------------------------------
Reopened for feature enhancement.
Since knowing the template location implies collecting the VTL stacktrace in a
thread-local stack, it can also be used to display the full VTL stacktrace in
case of rendering error.
> Track template location in logs using slf4j MDC mechanism
> ---------------------------------------------------------
>
> Key: VELOCITY-916
> URL: https://issues.apache.org/jira/browse/VELOCITY-916
> Project: Velocity
> Issue Type: New Feature
> Components: Engine
> Affects Versions: 2.2
> Reporter: Claude Brisson
> Assignee: Claude Brisson
> Priority: Major
> Fix For: 2.2
>
>
> Slf4j MDC (Mapped Diagnostic Context) allows to set contextual key/value
> pairs, which can be used in MDC-aware logger implementations.
> The proposed feature is to populate "file", "line" and "column" MDC tags
> during template rendering.
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]