Skip to content

Logs always show UTC time even when container timezone is set #15

@akhil1280

Description

@akhil1280

Issue

The Bitwarden Secure Sync Docker container always shows log timestamps in UTC,
even when the container itself is using the correct local timezone.

My system uses Asia/Kolkata (IST), and the container also shows the correct
local time when I check it. But the logs still display UTC time.

This makes it difficult to match the logs with other services that use local time.


Example

  • Inside container: time is correct (IST)
  • In Docker logs: time is always UTC (with a “Z” at the end)

My Docker Compose

services:
  bitwarden-secure-sync:
    image: aronmarinelli/bitwarden-secure-sync:latest
    container_name: bitwarden-secure-sync
    restart: unless-stopped
    environment:
      - TZ=Asia/Kolkata
    volumes:
      - ./config:/app/config
      - /backup/bitwarden:/app/data
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions