Re: Log file timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<top posting>

Pretty much every commercial storage appliance is set at the factory to UTC. That's certainly true for EMC and NetApp storage devices. (disclaimer: I did work at EMC for seven years.)

IMO, even storage appliances and SDS built with FOSS software should use UTC. Honestly, why would anyone use anything else? It's an appliance, not a general purpose computing device.

FWIW I set pretty much everything I own — at home and at work — to UTC and use NTP. I set the local TZ in my shell and desktop clock of course.

I lobbied for the use of UTC in gluster logging a couple years ago, the community agreed, and the change was made.

As for making it configurable, I have no objection to that. IIRC I had no objection the last time the topic came up. File a BZ and submit a patch. I have no reason to believe it would not be accepted.

Oh, and we should probably agree finally on the One True Timestamp Format and change the source to use it!

</top posting>


On 11/26/2014 08:13 AM, Vijay Bellur wrote:
On 11/26/2014 07:31 AM, Pranith Kumar Karampuri wrote:
+Kaleb who implemented this feature to see if there is a way to change
it.


I am not aware of any. Since this keeps coming up quite often, I think
it would be good to provide a configurable mechanism for specifying time
zones in log files.

-Vijay

Pranith
On 11/25/2014 09:04 PM, Koby, Bradley wrote:
I would like to add that all other log files /var/log/messages,
/var/log/syslog, /var/log/secure, etc... have the correct entries
using the local timezone.   It is only the gluster log files that are
off by 5 hours.
Could someone point me in the right direction on configuring this?
 This Gluster app resides on Red Hat Enterprise Linux Server release 6.2

Thanks!

On Tue, Nov 25, 2014 at 10:07 AM, Atin Mukherjee <amukherj@xxxxxxxxxx
<mailto:amukherj@xxxxxxxxxx>> wrote:

    This has to be set up in the server based on what time format you
    want.
    I don't see any application dependency here.

    ~Atin

    On 11/25/2014 08:34 PM, Koby, Bradley wrote:
    > Is there a way to have the gluster log files date/time stamps
    use local
    > timezone.   This system is in EST and the times recorded in the
    logs are
    > off by 5 hours.  I'm assuming logs are represented as UTC/GMT.
     This is
    > using Gluster 3.5.2.
    >
    >
    > Thanks
    >
    >
    >
    > _______________________________________________
    > Gluster-users mailing list
    > Gluster-users@xxxxxxxxxxx <mailto:Gluster-users@xxxxxxxxxxx>
    > http://supercolony.gluster.org/mailman/listinfo/gluster-users
    >




_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users



_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users



--

Kaleb
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux