[SERVER-12317] Commandline option logTimestampFormat not accespted Created: 10/Jan/14  Updated: 10/Dec/14  Resolved: 10/Jan/14

Status: Closed
Project: Core Server
Component/s: Logging
Affects Version/s: 2.4.8
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Juergen Adams Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux vcentos.ja.home 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


Operating System: ALL
Participants:

 Description   

With ticket SERVER-7965 a new option --logTimestampFormat has been introduced. Tried to use this feature to add the "year" information to mongod log data.

If this opton is given for mongod on commandline:

/usr/local/mongodb/bin/mongod --logpath /usr/local/mongodb/logs/mongod.log --dbpath /usr/local/mongodb/db --logTimestampFormat=iso8601-local

the server fails to start:

error command line: unknown option logTimestampFormat

Has this option changed or not implemented with the current version?

Thanks a lot,
Juergen



 Comments   
Comment by Juergen Adams [ 10/Jan/14 ]

Hi Mike,

thanks al lot. Yes, I missed that info. I'll try version 2.5.2 for testing.

Please close that ticket - my mistake.

Many thanks for your quick answer,
Juergen

Comment by Eric Milkie [ 10/Jan/14 ]

Hi Juergen,
In the ticket you reference, the Fix Version field is 2.5.2, so the feature is only present in that version and above. 2.6 will be the first production version with that feature.

Generated at Thu Feb 08 03:28:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.