t0xa / gelfj

Graylog Extended Log Format (GELF) implementation in Java and log4j appender without any dependencies.
https://github.com/t0xa/gelfj/wiki
Other
187 stars 115 forks source link

Added 'includeLocationInformation' parameter #32

Closed Noxville closed 12 years ago

Noxville commented 12 years ago

Made an additional parameter 'includeLocationInformation' that allows configuration for including file and lineNumber or excluding them. On some rough testing, turning off file name and line number as part of a GelfMessage means saving approximately 50% of the time required to create and send the message, primarily because of the long execution time to get LocationInfo out of an event.

t0xa commented 12 years ago

Hi, Thanks for request. I've merged similar flag within another pull request. Sorry it took so long for me. Anton