Hi,
I am watching a log file using FSSM. So far, this works fine.
FSSM informs me whenever the file gets updated. But how can I detect the new log entries without manipulating the given log file?
My current code is:
FSSM::Monitor.new.path(Dir.pwd, file) do
update { |base, relative|
puts "Change detected (#{file}): Base: #{base} Relative:#{relative}"
}
end
Best regards