I wrote a script that logs into a Cisco router then issues the 'show log' command. The log is very large. So I tried to set the max_buffer_length which Cisco.pm and Telnet.pm was not taking. So I then modified Telnet.pm maxbufsize with 8mb. Still the entire 'show log' contents are not extracted completely. The @output array only extracts about halft the log. Enabling the Dump_log and Input_log does not show details what the problem is. I believe it is a problem with either Telnet.pm or Cisco.pm and some sort of buffering issue. Can someone lend a tip? Below is a snippet of the script: