Free cookie consent management tool by TermsFeed Policy Generator

Changeset 7158


Ignore:
Timestamp:
12/08/11 19:51:09 (13 years ago)
Author:
ascheibe
Message:

#1672 another event logging fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive.DataAccess/3.3/Logger.cs

    r7157 r7158  
    2828  public class LogFactory {
    2929    public static ILogger GetLogger(string source) {
    30       return new Logger(Settings.Default.EventLogName, source);
     30      //ignore the source parameter for now
     31      return new Logger(source, Settings.Default.EventLogName);
    3132    }
    3233  }
     
    4748    public Logger(string name, string source) {
    4849      try {
    49         log = new EventLog(name);
     50        log = new EventLog();
    5051        log.Source = source;
    5152      }
Note: See TracChangeset for help on using the changeset viewer.