[SERVER-15592] Enforce default log component specification in .cpp files during compile Created: 09/Oct/14  Updated: 25/Oct/14  Resolved: 14/Oct/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.8

Type: Task Priority: Trivial - P5
Reporter: Matt Kangas Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-5092 Better named logging with tracing Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Make compiles fail when a .cpp file fails to declare MONGO_LOG_DEFAULT_COMPONENT and also uses the LOG macro.



 Comments   
Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15592 Enforce MONGO_LOG_DEFAULT_COMPONENT specification during compile
Branch: master
https://github.com/mongodb/mongo/commit/5fc306543cd3ba2637e5cb0662cc375f36868b28

Comment by Githook User [ 14/Oct/14 ]

Author:

{u'username': u'kangas', u'name': u'Matt Kangas', u'email': u'matt.kangas@mongodb.com'}

Message: SERVER-15592 set default log component for all cpp
Branch: master
https://github.com/mongodb/mongo/commit/a3d8e9a0c447c40aff9eb7fcbd94119737dc971c

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