Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Sv translation
languageen
Remarque

This page is no longer being updated. From BlueMind 4.8, please refer to the new BlueMind documentation

Introduction

BlueMind keeps log files for each application and usage type.

Avertissement

It is important to provide for enough disk space to store log and archive files.

Space overload stops new information from being saved into log files and can lead to sluggish, and possibly blocked, services.

Volet

On this page:

Sommaire
maxLevel2

Related:

Applications et Composants

There are 3 types of log files:

  • system logs, which rely on log administration mechanisms (rsyslog + logrotate)
  • BlueMind's Java services log, which rely on LogBack

    Remarque
    titleTrack times

    Java-generated tracks in these files are set to GMT.

    As a result, in France, which is in the Europe/Paris time zone, times are +1h in the winter and +2h in the summer. To find items that took place at 15:00, you need to look for:

    • 14:00 from late October to late March
    • 13:00 from late March to late October
  • internal service logs, managed by each service's configuration.

Storage time depends on each log administration mechanism's settings. These settings can be changed to the desired storage time.

Log files

Log files are located in the /var/log file and its subfolders.

ComponentPackage NameLog FileTypeDescription
BlueMind Corebm-core

./bm/:

  • core.log
  • mail-index.log
  • slow-call.log

./bm/audit/:

  • audit-calendar*.log
LogBack

Main BlueMind service:

  • manages database contents, implements job rules
  • indexes emails during tasks re-indexing 
  • queries that take longer than 200 ms to run

Audit:

  • Tracks the actions performed in the calendar specified in the file name: audit-calendar:<calendar name>:<user uid>.log
Postfixpostfix

RedHat: ./maillog

Debian/Ubuntu:

  • ./mail.err
  • ./mail.info
  • ./mail.log
  • ./mail.warn
System

Postfix forwarding service which sends emails to recipients' mailbox or server.

Cyrusbm-cyrus-imapd

RedHat: ./maillog

Debian/Ubuntu:

  • ./mail.err
  • ./mail.info
  • ./mail.log
  • ./mail.warn
System

Cyrus IMAP mail service. Used to:

  • place an email in the corresponding mailbox and access it through IMAP and/or POP.
  • filter emails on reception
  • manage away message
  • manage redirects
Webmailbm-webmail./bm-webmail/ :
  • errors
  • sendmail
    mailSent.log
LogBack


  • errors from the webmail service (Round Cube).
  • tracks all sent messages as well as rules applied to these messages (alias, redirection, etc.).
Synchronisation EASbm-eas./bm-eas/eas.logLogBackTracks operations carried out to and from mobile devices connected through EAS.
In addition, logs for each synchronization file are stored in separate files, which makes the analysis of bugs or erroneous behavior easier.
Mail forwardingbm-lmtpd./bm-lmtpd/lmtpd.logLogBack

Service that delivers emails to the corresponding mailbox.

Some BlueMind-related operations are carried out here - ICS invitation analysis, for example.

Localizationbm-locator

./bm-locator/locator.log

LogBackLocate user-specific services (mailbox server, etc.)
Mapibm-mapi

./mapi.log
./activities.log

LogBackmapi service general log
Activity log
For more detailed information, please go to the page about Résolution des problèmes avec Outlook.
Replication
./bm/replication.logLogBack
Identificationbm-node./bm-node/node.logLogBack

Service that allows the BM-Core server to run system operations on the BlueMind architecture nodes.

The log file tracks commands.

BlueMind web serverbm-webserver./bm-webserver/ :
  • dav.log
  • js-errors.log
  • setup.log
  • webserver.log
LogBackDirectory containing log files generated by the webserver service.
  • synchronization of calendars.
  • caldav/carddav synchronization
  • JS erros on web applications
  • BlueMind updates
Authenticationbm-hps./bm-hps/hps.logLogBackTracks successful authentications, authentication issues and sessions started
Tikabm-tika./bm-tika/tika.logLogBack

Extracts metadata and document data for the ES index.
Tracks information indexing extraction errors.

PHP FPMbm-php-fpm

./bm-php-fpm:

  • bm-php-fpm.log
  • slow.log
LogBack

PHP interpreters.

The slow.log file contains PHP requests longer than 15s.

ElasticSearchbm-elasticsearch./bm-elasticsearchInterne

ElasticSearch service logs.

*_slowlog.log files contain slow requests.

Possible log configuration modifications to this service may be lost after a BlueMind update.

Milterbm-milter./bm-milter/milter.logLogBackSMTP analysis and modification of emails.
XMPPbm-xmpp./bm-xmpp/xmpp.logLogBack

Instant messaging logs.

YSNPbm-ysnp./bm-ysnp/ysnp.logLogBack

Service that allows Postfix or Cyrus to obtain or verify data with BlueMind:

  • SMTP and IMAP authentication
  • ACLs IMAP ACLs resolution
  • blocks mail flows when BlueMind is under maintenance or being updated
PostgreSQLbm-postgresql./postgresqlInterne+logrotate

PostgreSQL database logs.

This component's configuration can be edited using the file /etc/postgresql/9.6/main/postgresql.conf.local

NGinxbm-nginx

./nginx:

  • access.log
  • error.log
  • webmail.log
Interne+logrotate

The NGinx services allows HTTP and HTTPs access to BlueMind.

  • access.log contains all HTTP and HTTPs requests made to BlueMind
  • error.log contains all HTTP and HTTPs error requests or request whose return code shows an error (4xx, 5xx)
  • webmail.log contains all HTTP and HTTPs requests made through webmail or error requests or requests whose return code shows an error (4xx, 5xx)
Sv translation
languagede
Remarque

Diese Seite ist nicht mehr aktuell. Ab der Version BlueMind 4.8 finden Sie alle Infos in der neuen Dokumentation

Präsentation

BlueMind speichert Protokolldateien für jede Art von Anwendung und Nutzung.

Avertissement

Es ist wichtig, genügend Speicherplatz zur Verfügung zu stellen, um die Protokolldateien und ihre Archive speichern zu können.

Die Sättigung dieses Speicherplatzes verhindert die Aufzeichnung neuer Informationen in den Protokolldateien und kann dazu führen, dass Dienste langsamer werden oder sogar einfrieren.

Volet

Auf dieser Seite:

Sommaire
maxLevel2

Verwandt:

Configuration des logs

Es gibt 3 Arten von Protokolldateien :

  • Systemprotokolle, verwaltet durch den Systemprotokoll-Verwaltungsmechanismus (rsyslog + logrotate)
  • BlueMind Java-Dienstprotokolle, verwaltet von LogBack

    Remarque
    titleUhrzeit der Traces

    Die von Java generierten Traces in diesen Dateien sind in GMT-Zeit.

    So sind in Frankreich, in der Zeitzone Europa/Paris, die Stunden im Winter um 1 Stunde und im Sommer um 2 Stunden versetzt. Um nach Terminen zu suchen, die um 15 Uhr stattfanden, führen Sie folgende Suche durch:

    • 14 Uhr von Ende Oktober bis Ende März
    • 13 Uhr von Ende März bis Ende Oktober
  • Dienst-interne Protokolldateien, die über die Konfiguration dieses Dienstes verwaltet werden

Die Aufbewahrungsdauer hängt von den Einstellungen dieser Protokollverwaltungsmechanismen ab. Es ist möglich, ihre Konfiguration auf die gewünschte Aufbewahrungszeit zu ändern.

Log-Dateien

Die Protokolldateien befinden sich im Ordner /var/log und seinen Unterordnern

KomponentePaketnameLog-DateiTypBeschreibung
BlueMind Corebm-core

./bm/ :

  • core.log
  • mail-index.log
  • slow-call.log

./bm/audit/ :

  • audit-calendar*.log
LogBack

BlueMind-Hauptdienst:

  • Datenbank-Content-Management, Implementierung von Geschäftsregeln
  • Indizierung von Mails bei der Durchführung von Re-Indizierungsaufgaben
  • Anfragen, die mehr als 200 ms zur Ausführung benötigten

Audit:

  • Verfolgt die Aktionen, die in dem Kalender durchgeführt werden, der im Dateinamen angegebenen wird: audit-calendar:<Kalendername>:<uid Benutzer>.log
Postfixpostfix

RedHat: ./maillog

Debian/Ubuntu:

  • ./mail.err
  • ./mail.info
  • ./mail.log
  • ./mail.warn
System

Postfix E-Mail-Weiterleitungsdienst, der die Weiterleitung von E-Mails an den Posteingang oder den Server des Empfängers ermöglicht.

Cyrusbm-cyrus-imapd

RedHat: ./maillog

Debian/Ubuntu:

  • ./mail.err
  • ./mail.info
  • ./mail.log
  • ./mail.warn
System

Cyrus IMAP Posteingang-Verwaltungsdienst. Ermöglicht Folgendes:

  • Eine E-Mail zurück in den entsprechenden Posteingang senden und per IMAP und/oder POP abrufen.
  • E-Mails beim Empfang filtern
  • Abwesenheitsmeldung verwalten
  • Weiterleitungen verwalten
Webmailerbm-webmail./bm-webmail :
  • Errors
  • sendmail
    mailSent.log
LogBack


  • Fehler im Webmailer-Dienst (RoundCube)
  • die gesendeten E-Mails sowie die in diese Nachrichten analysierten Regeln (Aliase, Umleitung usw.) verfolgen
EAS-Synchronisationbm-eas./bm-eas/eas.logLogBackVerfolgt die Vorgänge, die von und zu den in EAS verbundenen mobilen Geräten durchgeführt werden.
Die Log-Dateien für jede Sync-Warteschlange werden in separaten Dateien gespeichert, um die Analyse von Fehlern oder unangemessenem Verhalten zu erleichtern.
Mail-Übertragungbm-lmtpd./bm-lmtpd/lmtpd.logLogBack

Dienst für die Zustellung einer E-Mail an den entsprechenden Posteingang.

Einige BlueMind-bezogene Operationen werden auf dieser Ebene durchgeführt – die Analyse von ICS-Einladungen zum Beispiel.

Standortbm-locator

./bm-locator/locator.log

LogBackFindet die Dienste, die einem Benutzer zugeordnet sind (Mail-Server usw.)
Mapibm-mapi

./mapi.log
./activities.log

LogBackAllgemeines Protokoll des mapi-Dienstes
Aktivitätsprotokoll
Ausführlichere Informationen finden Sie auf der Seite, die der Fehlerbehebung mit Outlookgewidmet ist.
Replikation
./bm/replication.logLogBack
Identifikationbm-node./bm-node/node.logLogBack

Dienst, der es dem BM-Core-Server ermöglicht, Systemvorgänge auf Knoten der BlueMind-Architektur auszuführen.
Die Log-Datei zeichnet die ausgeführten Befehle auf.

BlueMind-Webserverbm-webserver./bm-webserver:
  • webserver.log
  • dav.log
  • js-errors.log
  • setup.log
LogBack

Verzeichnis, das die vom Webserver-Dienst generierten Log-Dateien enthält.

  • Synchronisierung von Kalendern und Terminplanern.
  • Synchronisation über caldav/carddav
  • JS-Fehler bei Webanwendungen
  • BlueMind-Updates
Authentifizierungbm-hps./bm-hps/hps.logLogBackVerfolgt Probleme und Erfolge bei der Authentifizierung und Anmeldung
Tikabm-tika./bm-tika/tika.logLogBack

Extraktion von Metadaten und Daten aus den Dokumenten, die zum Auffüllen des ES-Index verwendet werden.
Verfolgt Fehler bei der Extraktion der zu indizierenden Informationen.

PHP FPMbm-php-fpm

./bm-php-fpm :

  • bm-php-fpm.log
  • slow.log
LogBack

PHP-Interpreter.

Die Datei slow.log enthält PHP-Anfragen, die länger als 15s gedauert haben.

ElasticSearchbm-elasticsearch./bm-elasticsearchIntern

Log-Dateien des ElasticSearch-Dienstes.

Die Dateien *_slowlog.log enthalten langsame Abfragen.

Alle Änderungen an der Konfiguration der Protokolle dieses Dienstes können nach einem Update von BlueMind verloren gehen.

Milterbm-filter./bm-milter/milter.logLogBackAnalyse und Modifikation von E-Mails auf SMTP-Ebene
XMPPbm-xmpp./bm-xmpp/xmpp.logLogBackInstant Messenger Log-Dateien
YSNPbm-ysnp./bm-ysnp/ysnp.logLogBack

Dienst, der es Postfix oder Cyrus ermöglicht, bestimmte Daten von BlueMind zu erhalten oder zu validieren:

  • SMTP- und IMAP-Authentifizierung
  • Lösung von IMAP-ACLs
  • Blockierung des Mailflusses in Fällen, in denen BlueMind gewartet oder aktualisiert wird
PostgreSQLbm-postgresql./postgresqlIntern+logrotate

PostgreSQL-Datenbankprotokolle

Seine Konfiguration kann mit der Datei /etc/postgresql/9.6/main/postgresql.conf.local geändert werden

NGinxbm-nginx

./nginx :

  • access.log
  • error.log
  • webmail.log
Intern+logrotate

Der NGinx-Dienst bietet HTTP- und HTTPs-Zugriff auf BlueMind.

  • access.log enthält alle an BlueMind gestellten HTTP- und HTTP-Anfragen
  • error.log enthält alle HTTP- und HTTP-Anfragen, die fehlerhaft sind oder deren Rückgabecode einen Fehler anzeigt (4xx, 5xx)
  • webmail.log enthält alle HTTP- und HTTP-Anfragen, die über das Webmailer fehlerhaft ausgeführt wurden oder deren Rückgabecode einen Fehler anzeigt (4xx, 5xx)