Use the logging option argument

The option `logging' is not currently been used but the function.