Open GoogleCodeExporter opened 8 years ago
I am interested in this patch... please post it if you can.
Original comment by Horacio....@gmail.com
on 7 Oct 2010 at 3:36
Patch attached.
Original comment by fooi...@gmail.com
on 7 Oct 2010 at 11:16
Attachments:
An alternative fix would be to remove the facility specification from the call
to syslog in line 110 of the patch supplied in comment 2. (that is, don't |
(or) anything with SEVERITY_TO_LEVEL.
Then, you can change the facility on the fly by simply making another call to
openlog with a new facility specification.
patch inline:
- syslog(LOG_USER | SEVERITY_TO_LEVEL[static_cast<int>(data_->severity_)],
"%.*s",
+ // don't specify the facility here; use the facility spec'd in openlog()
+ syslog(SEVERITY_TO_LEVEL[static_cast<int>(data_->severity_)], "%.*s",
Original comment by j...@solidfire.com
on 19 May 2011 at 11:22
Original issue reported on code.google.com by
fooi...@gmail.com
on 6 Oct 2010 at 4:29