trying to fix linux logging problem