[ 
https://issues.apache.org/jira/browse/DRILL-36?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580389#comment-13580389
 ] 

Sree Vaddi commented on DRILL-36:
---------------------------------

If you are using eclipse, add this template. In editor, type 
'logger<ctrl+space>' would auto generate the code.

window->preferencees->java->editor->templates->new
name:logger
context:java type members
pattern:
${:import(org.slf4j.Logger,org.slf4j.LoggerFactory)}private static final Logger 
logger = LoggerFactory.getLogger(${enclosing_type}.class);${cursor}
Click 'OK' and 'OK'.
                
> add slf4j and log4j
> -------------------
>
>                 Key: DRILL-36
>                 URL: https://issues.apache.org/jira/browse/DRILL-36
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Sree Vaddi
>              Labels: log4j, log4j.xml, slf4j, test
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> For the current active projects:
> common
> ref
> sqlparser
> add slf4j and log4j jars in pom.xml
> add log4j.xml for 'test', too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to