Replaced internal logging mechanism with fm-log