Skip to content
Browse files

fix for [].each_line in tomcat plugin

  • Loading branch information...
1 parent 0528912 commit abcd11ca390a9bc2584a731c638851c6695e87b2 Andre Lewis committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 tomcat_monitor/tomcat_monitor.rb
View
2 tomcat_monitor/tomcat_monitor.rb
@@ -177,7 +177,7 @@ def type_monitor
# assumes format: 10.162.73.221 - - [23/Apr/2011:00:00:40 +0000] "GET /client/appraisalWorkshopPrintSignReport.jsp HTTP/1.1" 200 80557
def parse_logs
- logs = []
+ logs = ""
begin
pfc = print_file_cmd
logs = `#{pfc} #{logfile} #{filters} | awk '{print $4 " " $6 " "$7":"$8}'`

0 comments on commit abcd11c

Please sign in to comment.
Something went wrong with that request. Please try again.