File adapter constructor accepts the second argument and expect to receive an array of options:
/**
* \Phalcon\Logger\Adapter\File constructor
*
* @param string $name
* @param array $options
*/
public function __construct($name, $options=null){
}
What they are? Is there any way to flush the log file before each time the adapter is created?