[SERVER-7454] syslog should include facility information in addition to level as part of the priority argument Created: 24/Oct/12 Updated: 05/Dec/23 Resolved: 11/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Logging |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | 2.5.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Simon Harvey | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 8 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
RHEL 6 |
||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Currently syslog provides severity level information (according to |
| Comments |
| Comment by auto [ 11/Oct/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by auto [ 11/Oct/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by Andy Schwerin [ 10/Oct/13 ] |
|
mattd@10gen.com, this is pretty straight-forward. sverch can show you where logging is initialized in the servers. What you need to do is change the openlog() call the ServerLogRedirection initializer. You'll also need to add a command-line option or a setParameter to let the user choose one of { "user", "local0", "local1", ..., "local7" }. Talk w/ Shaun and milkie about how to name the command line option and how to set it up. |