logstasher icon indicating copy to clipboard operation
logstasher copied to clipboard

Log file name, line

Open geekerzp opened this issue 11 years ago • 3 comments
trafficstars

Hey, I want to log the logger.debug, logger.info, etc. call in controller information, sunch as callee , FILE, LINE , so I can trace the souce code information in log file. How can i do that? Please

geekerzp avatar Jun 26 '14 08:06 geekerzp

I try to do the same, any advancement ?

nicolas-besnard avatar Jul 04 '14 15:07 nicolas-besnard

Logger info debug etc is all sent to a separate file so that it doesn't interfere with the json format for logstash. The separate file is the standard environments.log file.

shadabahmed avatar Jul 04 '14 15:07 shadabahmed

Is there a way to add custom "event" to "logstash_*.log" ? I tried LogStasher.log('warn', 'WARNING') without success.

nicolas-besnard avatar Jul 04 '14 15:07 nicolas-besnard