logstasher
logstasher copied to clipboard
Log file name, line
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
I try to do the same, any advancement ?
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.
Is there a way to add custom "event" to "logstash_*.log" ? I tried LogStasher.log('warn', 'WARNING') without success.