Log size checking application written in ruby.