Ich habe eine separate Konsolenanwendung für die Protokollierung erstellt und diese Einzelkonsolen-DLL dann zu mehr als einer Anwendung für die Protokollierung hinzugefügt. Sobald ich die Anwendung ausführen, wird die Anmeldung gut, aber auch die folgenden Fehlerlog4net: FEHLER XmlConfigurator: Fehler beim Suchen des Konfigurationsabschnitts 'log4net' in der Anwendung .config
log4net:ERROR XmlConfigurator: Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration section should look like: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
log4net zeigt: ERROR XmlConfigurator: Fehler beim Konfigurationsabschnitt ‚log4net‘ in der Klage der CONFIG-Datei zu finden. Überprüfen Sie Ihre .config-Datei für die Elemente und. Der Konfigurationsabschnitt sollte wie folgt aussehen:
eine Idee?
Ja, das DLL für die Protokollkonfiguration unterschiedliche Konfigurationsdatei haben. –