Linux Operating System (MOSC)

MOSC Banner

Apache Piped Logging Inaccurate strftime results

Created a CustomLog entry in configuration for the access logging. Implemented piped logging (rotatelogs) and specified target name as "access_log.%Y-%m-%d-%H".  Verified that the date and time on the system return accurate results. But when the logs are generated the %Y return 2015 instead of 2014, %m return 10 instead of 8, %d returns 21 instead of 27, and %H returns a wonrg 2-digit hour of creation (and it is not the GMT -5 offset of our local time zone).  I have no idea where to begin to troubleshoot this to get the functions to resolve the date/time correctly. Anyone have

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center