Fix supervisor log directory problem