---
title: "Why are my logs in GMT (UTC)?"
slug: "aa-00306"
description: "System-wide configurations for local time zone settings are commonly set via configuration files, which vary between operating systems."
tags: ["time", "logging", "chroot"]
updated: 2018-10-30T18:56:05Z
published: 2018-10-30T18:56:05Z
canonical: "kb.isc.org/aa-00306"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://kb.isc.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Why are my logs in GMT (UTC)?

System-wide configurations for local time zone settings are commonly set via configuration files which vary between operating systems. (If your OS is not listed below, consult your man pages to find out how to set the system-wide time zone default for your system.)

Special considerations when running chrootedA frequent problem occurring for operators who are running their servers chrooted is that they have omitted the time zone configuration files from the chroot environment, resulting in logs which are recorded in whatever time zone the system hardware clock may be set to, generally UTC.

FreeBSD, Linux: `/etc/localtime`

Solaris: `/etc/TIMEZONE` and `/usr/share/lib/zoneinfo`

OSF: `/etc/zoneinfo/localtime`

AIX: `/etc/environment` ($TZ)

*See also tzselect(1), tzset(3) and zic(8).*
