in reply to Log::Log4perl suddenly throws up error
You should define get_log before you are using PARSE_DIR module.