iceScrum | IceScrum Docker - wrong timezone in logs – iceScrum

iceScrum Foros Discutir de iceScrum

  • Este debate tiene 2 respuestas, 2 mensajes y ha sido actualizado por última vez el hace 7 años por dufond.
Viendo 3 entradas - de la 1 a la 3 (de un total de 3)

  • Autor
    Entradas
  • #117202

    dufond
    Participante

    Hello,

    I have installed IceScrum with Docker.
    I manage to set the timezone of my container in Europe/Paris (with the command «dpkg-reconfigure tzdata»)
    JAVA_OPTIONS are : -Xmx1024m -Dicescrum.log.dir=/root/logs/ -Dicescrum.environment=docker -Duser.timezone=Europe/Paris
    But in the log files (catalina.out and icescrum.log), the timezone of the server is still UTC and there is a lag of one hour.

    Any idea to fix that ?

    Thanks by advance.
    Jean-Christophe

    #117211

    Nicolas Noullet
    Superadministrador

    Hello Jean-Christophe,

    This is an intended behavior. Indeed, iceScrum needs to run on UTC in order to work properly.

    The only downside is that you have to do the conversion by yourself when you want to correlate the logs with dates in your Timezone.

    Nicolas

    #117221

    dufond
    Participante

    That’s clear ! Thank you.

    It could be usefull that you indicate this in the docker documentation…

    Jean-Christophe

Viendo 3 entradas - de la 1 a la 3 (de un total de 3)

El foro ‘Feedback, defects, evolutions’ está cerrado y no se permiten nuevos debates ni respuestas.