create log window