You should define get_log before you are using PARSE_DIR module.
In reply to Re: Log::Log4perl suddenly throws up error by zwon in thread Log::Log4perl suddenly throws up error by chanakya