in reply to Re^2: Need help copying "logs" to another file. -- oneliner
in thread Need help copying "logs" to another file.

Good point :-) Less expensive:

perl -ne 'INIT{@ARGV=grep{!/filename_exclude_pat/}@ARGV} /line_include +_pat/&&print' /path/*.log >output.txt