Support gardener 1.0.3

Add logdir switch