The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Incorrect timestamp on cpanel access log

Discussion in 'General Discussion' started by mctDarren, Jul 18, 2007.

  1. mctDarren

    mctDarren Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    664
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    New Jersey
    cPanel Access Level:
    Root Administrator
    Anyone else experienced this or know a fix (if needed)

    My cpanel access_log is showing a different time/date stamp as other logs.

    CPanel log: [07/18/2007:12:38:25 -0000]

    Exim log: 2007-07-18 08:42:45

    Just wondering why exim would be using -0500 while CP is using -0000?
     
  2. karlos

    karlos Member

    Joined:
    Oct 1, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Yes, seems like access_log gets a fixed timezone rather than the timezone configured in the server :confused:


    Perhaps it is for the convenience of the support team? :confused:
     
  3. carteluo

    carteluo Member

    Joined:
    Jun 25, 2005
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Porlamar
    cPanel Access Level:
    Root Administrator
    Twitter:
    Sorry for bringing up this old topic, but any advice on this?

    Apache and Exim logs are using server time (America/Caracas) but cpanel logs uses UTC (?).

    Is there a way we can resync cpanel logs timestamps with the server timezone?

    Thank you.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    This is addressed with internal case number 186981. All cpsrvd logs will use the same time stamp (local time). This change is scheduled for cPanel version 11.52.

    Thank you.
     
  5. InteractM

    InteractM Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    133
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    I have same issue with a timestamp on cPanel access log. Running WHM 11.50.0.20
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,689
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You won't see this addressed until cPanel version 11.52 due to the scope of changes required to fix this behavior.

    Thank you.
     
  7. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    The logs that are most frequently examined by humans (error_log, login_log, etc) log in local time.

    The access_log will remain in GMT/Z time for compatibility with stats programs.
     
Loading...

Share This Page