Change log method to run in FX OS