You can't update the UI from another thread. Depending on whether you're using WinForms or WPF, the solution is different.
WinForms:
log_txtbox.Invoke(() =>
{
log_txtbox.Text += .....;
});
WPF:
this.Dispatcher.Invoke(()=>
{
log_txtbox.Text += ....;
});