Fix deprecated module in log file