Linux version does not work. Log statements inserted