Projet

Général

Profil

Actions

Anomalie #1196

fermé

logs use GMT time instead of local time

Ajouté par Guillaume Rousse il y a plus de 6 ans. Mis à jour il y a environ 6 ans.

Statut:
Rejeté
Priorité:
Bas
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
19/08/2018
Echéance:
% réalisé:

0%

Temps estimé:
Version utilisée:

Description

This violates least suprise principle, and make it difficult to correlate events with other logs on the system. This is a known issue with Analog, discussed here, with a potential workaround:
https://github.com/jbroadway/analog/issues/14

Mis à jour par Johan Cwiklinski il y a environ 6 ans

  • Priorité changé de Normal à Bas

Proposed hack sound a bit ugly to me. This is lot of code to maintain for just a timezone issue :/

Mis à jour par Johan Cwiklinski il y a environ 6 ans

  • Statut changé de Nouveau à Rejeté

I do not want to get that fixed Galette side; this is an issue with the used library and should be fixed on it.

I can see 3 possibilities:
- issue is fixed on the lib side and I'll update Galette dependency. It does not seems this will happen,
- change logging lib (a quite huge job as well). Well for this one, another ticket should be opened with legit alternatives proposal; this is a very huge job and will cause changes in almost all Galette files.
- deal with it (the way I choose to go right now).

If you really want to change the behavior, feel free to open a pull request; but note that I won't spend much time on this; if that cause too much trouble, this will be reverted.
Also note that proposed workaround is not known to be working (author said "should") and this fix only one handler type. Galette uses more complex setup, this may not be so simple to get that fixed.

Actions

Formats disponibles : Atom PDF