Use command line parameters to get log file names

This feature is implemented so that the script can be used like
    sudo vi `./view_log.pl ssh`
to view this week's sshd log with Vim.