Anonymous | Login | Signup for a new account | 12-17-2024 10:38 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006087 | [Resin] | feature | always | 08-18-17 11:16 | 11-21-17 09:42 | ||||
Reporter | wileysaw | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.54 | Product Version | 4.0.53 | ||||
Product Build | |||||||||
Summary | 0006087: Add support to Syslog Handler for formatted messages | ||||||||
Description |
Note from user: It's worth just putting this functionality in a base class or something. For now I've added the below to my own handler extending your syslog handler and used that. /** * Sets the formatter. */ @Override public void setFormatter(Formatter formatter) { _formatter = formatter; } /** * Publishes the record new power generation style. */ public void publish(LogRecord record) { if (! isLoggable(record)) return; String value = record.getMessage(); if(_formatter != null) value = _formatter.format(record); Syslog.syslog(1, 6, value); } |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |