With this plugin, you just need to add this section to your Config.groovy
logentries {
enabled = true
appender {
name = 'le'
layout = new org.apache.log4j.PatternLayout('%d{yyyy-MM-dd HH:mm:ss} %-5p [%-18c{1}] %m%n')
token = '<YOUR_TOKEN>'
}
}