lib/agent/logging/am_logger.rb in site24x7_apminsight-1.8.6 vs lib/agent/logging/am_logger.rb in site24x7_apminsight-1.8.7
- old
+ new
@@ -38,10 +38,10 @@
end
def getLogsPath
props = {}
begin
- if FileTest.exists?(@obj.constants.apm_conf)
+ if FileTest.exist?(@obj.constants.apm_conf)
propsFile=File.open(@obj.constants.apm_conf, 'r')
propsFile.read.each_line do |line|
line.strip!
if (line[0] != ?# and line[0] != ?=)
i = line.index('=')