use Log::Log4perl; Log::Log4perl->init("/home/mysite/log4perl/log4perl.conf");