changed check for PEAR::Log