Protokollierung unter OTRS 5 Systemprotokoll

Hilfe zu OTRS Problemen aller Art
Post Reply
darkdead
Znuny newbie
Posts: 81
Joined: 09 Jul 2015, 15:28
Znuny Version: 5.0.7

Protokollierung unter OTRS 5 Systemprotokoll

Post by darkdead »

Hi,

mir ist aufgefallen, dass unter OTRS5 alltägliche Sachen nicht mehr protokolliert werden.
Unter OTRS4 war es doch so, das quasi alles Protokolliert wurde (Login/Fehler/Iphone Handler Login etc...).

Nun sehe ich im Systemprotokoll nur noch Fehler (sollten welche auftreten).

Richtig so?
Currently using: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting

Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by NancyL »

ist bei mir auch so, musst wohl in der logdatei nachsehen.
bei mir steht alles genau unter /var/log/syslog.
falls man hier eine Einstellung vornehmen kann welche festlegt das alle Ereignisse angezeigt werden so habe ich diese noch nicht gefunden und freue mich auch über einen Hinweis.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by jojo »

Die Einstellung was geloggt wird findest Du in der Sysconfig unter Core::Log
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
NancyL
Znuny expert
Posts: 247
Joined: 05 Aug 2014, 08:13
Znuny Version: 6.0.30
Real Name: Nancy

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by NancyL »

ja, danke! Funktioniert.
OTRS 6.0.30 /OS: Ubuntu/ Mysql
darkdead
Znuny newbie
Posts: 81
Joined: 09 Jul 2015, 15:28
Znuny Version: 5.0.7

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by darkdead »

Daumen hoch :)

"MinimumLogLevel" war bei mir auf "error" gesetzt vom System aus. Nachdem ich auf "Debug" umgestellt habe wird wieder alles geloggt :) sehr sehr schön
Currently using: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
Extension: FAQ | Survey | System Monitoring | Time Accounting

Test System: OTRS 5.0.7 | PostgresSQL 9.4.5 | Ubuntu 15.10
DBSRAJW
Znuny newbie
Posts: 23
Joined: 25 Jul 2014, 15:39
Znuny Version: 3.3.12

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by DBSRAJW »

Ah, prima, hatte das gleiche Problem. Dankeschön für die Lösung!
Das zeigt mal wieder: meist ist die Suche nach einer Antwort im Forum schneller als das eigene Suchen :wink:
OTRS version: 3.3.12
Operating System: VM / Debian7
Database type: MySQL
pfipf
Znuny advanced
Posts: 123
Joined: 14 Jul 2017, 09:30
Znuny Version: 6 Free
Real Name: Günter
Company: KIT

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by pfipf »

Ich habe ebenfalls ein Problem mit dem Systemprotokoll. Ich kann in der Adminoberfläche alle Einträge im Systemprotokoll sehen. Ich wüsste aber gerne wo das Logfile im System liegt.

In /var/log/syslog ist nichts von OTRS enthalten.
In Core::Log habe ich selbst ein Logfile definiert, das aber nicht einmal angelegt wird.

Also wo sind die Loginformationen abgelegt?
zzz
Znuny superhero
Posts: 889
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by zzz »

OTRS muss Schreibrechte in das Verzeichnis haben.

Ich würde diesen Pfad empfehlen: /opt/otrs/var/log/
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
pfipf
Znuny advanced
Posts: 123
Joined: 14 Jul 2017, 09:30
Znuny Version: 6 Free
Real Name: Günter
Company: KIT

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by pfipf »

Ok. Eigentlich logisch.
Mit /opt/otrs/var/log/ hat es funktioniert.
Danke
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by jojo »

ich empfehle die Nutzung von Syslog, neben einem asyncronem Schreiben gibt es hier noch weiterere Vorteile wie Logratate anhand der Größe (Default bei den beisten Distributionen)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
pfipf
Znuny advanced
Posts: 123
Joined: 14 Jul 2017, 09:30
Znuny Version: 6 Free
Real Name: Günter
Company: KIT

Re: Protokollierung unter OTRS 5 Systemprotokoll

Post by pfipf »

Nachdem ich den rsyslog (RHEL 7) konfiguriert hatte, hat auch das funktioniert.
Danke für die Tipps.
Post Reply