Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/04/11 11:20:22 (13 years ago)
Author:
ascheibe
Message:

#1233

  • disable logging of the user statistics on the server because of high run time demands
  • also show in the slave UI the timestamps of arrived messages
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.3/LogView.cs

    r6743 r6946  
    6969    #region Event Handlers
    7070    void Content_SlaveMessageLogged(object sender, EventArgs<string> e) {
     71      string msg = string.Format("{0}: {1} {2}", DateTime.Now.ToString("HH:mm:ss"), e.Value, Environment.NewLine);
     72
    7173      if (txtLog.InvokeRequired) {
    72         txtLog.Invoke(new Action<string>(txtLog.AppendText), e.Value + Environment.NewLine);
     74        txtLog.Invoke(new Action<string>(txtLog.AppendText), msg);
    7375      } else {
    74         txtLog.AppendText(e.Value + Environment.NewLine);
     76        txtLog.AppendText(msg);
    7577      }
    7678    }
Note: See TracChangeset for help on using the changeset viewer.