Greetings. I'm looking for a one-liner that will allow me to tail a growing log file that is rotated based on size. For example, I'm interested in watching insensate.log, once that log file gets above 500K in size it is rotated to insensate.log1 and a fresh insensate.log is initiated. A simple
will cease once the file is swapped. The one-liner requirement comes from a desire to use the command at-will in the context of my daily administrative tasks. Thanks in advance for your ideas.