reduce warning messages to log files