Fixed #1369. Also fixed FAdmin logging not working on Linux