logging of ice services in UTC

area51area51 Member Wout BettensOrganization: Key Technology (Visys) - BelgiumProject: Machine session management

Hi,

Is there a way to switch logging into UTC timestamps for the following services: icebox, glacier2, ice registry/node

Thanks in advance.

Best Answers

  • benoitbenoit Rennes, FranceBenoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Accepted Answer

    Hi,

    Our logger uses the localtime system call to transform the time into a string with the local time zone. Setting the TZ environment variable to an empty string or UTC should allow printing UTC timestamps.

    Cheers,
    Benoit.

  • area51area51 Wout BettensOrganization: Key Technology (Visys) - BelgiumProject: Machine session management
    Accepted Answer

    Thank you Benoit

Answers

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Accepted Answer

    Hi,

    Our logger uses the localtime system call to transform the time into a string with the local time zone. Setting the TZ environment variable to an empty string or UTC should allow printing UTC timestamps.

    Cheers,
    Benoit.

  • area51area51 Member Wout BettensOrganization: Key Technology (Visys) - BelgiumProject: Machine session management
    Accepted Answer

    Thank you Benoit

Sign In or Register to comment.