I am trying to enable plugin logging as well however with no luck with the 
following configuration in logging.yml 

es.logger.level: INFO
rootLogger: ${es.logger.level}, console, file
logger:
 
  action: DEBUG

  com.amazonaws: WARN

  com.mypackage: DEBUG, plugins_log_file

  index.search.slowlog: DEBUG, index_search_slow_log_file
  index.indexing.slowlog: DEBUG, index_indexing_slow_log_file

additivity:
  index.search.slowlog: false
  index.indexing.slowlog: false

appender:
  console:
    type: console
    layout:
      type: consolePattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"

  plugins_log_file:
    type: dailyRollingFile
    file: ${path.logs}/${cluster.name}_plugins.log
    datePattern: "'.'yyyy-MM-dd"
    layout:
      type: pattern
      conversionPattern: "[%d{ISO8601}][%-5p][%-25c] %m%n"


I have seen the _plugins.log successfully created in the log folder however 
nothing is printed there even i include the top level package in the 
configuration. 


On Sunday, May 5, 2013 at 12:27:30 PM UTC+1, David Pilato wrote:
>
> No but probably something to change in logging.yml as your package 
> probably does not start with org.elasticsearch
>
> HTH
> --
> David ;-)
> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>
> Le 5 mai 2013 à 13:08, David G Ortega <g.orteg...@gmail.com <javascript:>> 
> a écrit :
>
> Hi,
>
> Im writing a plugin and in the rest action Im trying to log an info with:
>
> logger.info("binary data");
>
> but the function is totally ignored, I can not see it nor in the log file 
> nor in the stout.
>
> Do I have to configure the config yml or something like that?
>
> Cheers
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to elasticsearc...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c3afc1f6-8dfd-4b45-b52b-4d362ebaf787%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to