[ 
https://issues.apache.org/jira/browse/SLING-444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596326#action_12596326
 ] 

Bertrand Delacretaz commented on SLING-444:
-------------------------------------------

Felix sent the info on the dev list, here it is:

This functionality is already present with the gobal "log" variable
which is a SLF4J Logger specifically created for the script after the
name of the script.

So, for example, an ESP might do:

       ...
       <%
       log.info("Starting processing....");
       %>
       ...


> Let scripts use the Sling log
> -----------------------------
>
>                 Key: SLING-444
>                 URL: https://issues.apache.org/jira/browse/SLING-444
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Scripts should be able to write to the log, either to a default logger or to 
> a script-specified logger, and using various log levels

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to