Move warning messages to log directory