Skip to content

Print session start time log with timezone #650

@cristhian-caballero

Description

@cristhian-caballero

OpenTest version number: 1.4.2

Currently, Opentest server logs session start time in UTC. We wish to print that log with the timezone the server is (controlled via TZ environment variable)
Steps to reproduce:

  1. Start new test session
  2. Watch log

Relevant log information
(CURRENT):

15:29:36 |	| Sync server version: 1.4.2 2024-06-13 12:38:08 -0500 04ee795fbee12fb2ea4f71fb3f3ef28ebe714ecb
15:29:36 |	| Acquiring actors for session 1727810976: API-DB
15:29:36 |      | Session 1727810976 with label "test" started at 2024-10-01 19:29:36 UTC

(DESIRED):

13:30:07 |       | Sync server version: 1.4.2 2024-06-13 12:38:08 -0500 04ee795fbee12fb2ea4f71fb3f3ef28ebe714ecb
13:30:08 |       | Acquiring actors for session 1727811008: WEB
13:30:08 |       | Session 1727811008 with label "test" started at 2024-10-01 13:30:08 CST

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions