add pear/log to composer requirements and use it