hide log window in release mode