fixed crashlogger + optimized logging