supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Abhas Abhinav <abhas@deeproot.co.in>
Subject: svlogd timestamps in local timezone
Date: Mon, 29 Aug 2005 16:26:20 +0530	[thread overview]
Message-ID: <20050829105620.GE4539@deeproot.co.in> (raw)

Hi Everyone...

I've got a small query on svlogd.

When we use the '-t' switch with svlogd it puts in tai64n compatible
timestamps in all log messages. Similarly, '-tt' puts the timestampts in
human readable form.

The problem is that both these options put the timestamps in UTC. So, if
the system's timezone is configured as something else, then the
timestamps don't really make too much sense to the user.

Is there wa way to get time stamps in the local timezone? Or if the
timestamps are logged in the tai64n format, is there a tai64nlocal-like
utility that can convert them to something in the local timezone?

Any thing on this will be very helpful...

Regards,
Abhas.
-- 
Abhas Abhinav / i-take-charge at DeepRoot Linux
Getting gnu/Linux to work for you. Faster. Better. Today. Every way.


             reply	other threads:[~2005-08-29 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-29 10:56 Abhas Abhinav [this message]
2005-08-29 21:53 ` Jared Rhine

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050829105620.GE4539@deeproot.co.in \
    --to=abhas@deeproot.co.in \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).