[DOCS-7940] Comment on: "manual/reference/command/getLog.txt" Created: 23/May/16  Updated: 03/Nov/17  Resolved: 19/Jul/17

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 2
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/reference/command/getLog/#dbcmd.getLog
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36
Referrer: https://docs.mongodb.com/manual/administration/monitoring/
Screen Resolution: 1920 x 1080


Participants:
Days since reply: 6 years, 30 weeks ago

 Description   

"The getLog command returns a document with a log array that contains recent messages from the mongod process log"...
what is exactly recent ?
how much data may returned ?



 Comments   
Comment by Githook User [ 19/Jul/17 ]

Author:

{u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}

Message: DOCS-7940: Clarify what 'recent' means for getLog

Also includes general QOL fixes.
Branch: master
https://github.com/mongodb/docs/commit/da72ed108755355795340ebc4e11cae5a8cb6e6f

Comment by Samaresh Singh [ 21/Jun/17 ]

The getLog command provides up to the most recent 1024 lines from the mongod process log, with each line having not more than 512 characters. These values of 1024 for the maximum number of lines and 512 for the maximum number of characters are specified as constants in the code and cannot be controlled from outside.

Generated at Thu Feb 08 07:55:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.