Add support to custom xlogdir parameter

Having a custom xlogdir location is desiderable for performances in many production environments