|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FileAppenderMonitorMBean
Log4j file appender
Supported API: true
Extendable: true
| Method Summary | |
|---|---|
void |
emailLog(String addressesOrEmailList,
String subject,
boolean compress)
E-mail entire log file as attachment, optionally compressing it Supported API: true |
void |
emailLog(String addressesOrEmailList,
String subject,
long maxLines,
long maxChars)
E-mail last portion of a log file Supported API: true |
String[] |
viewLog()
View log file (or rather last "reasonable" portion thereof) Supported API: true |
String[] |
viewLog(long maxLines,
long maxChars)
View last portion of log file Supported API: true |
| Methods inherited from interface wt.log4j.jmx.AppenderMonitorMBean |
|---|
getAppenderClassname, getLayout, setLayout |
| Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean |
|---|
emailThisMBean |
| Method Detail |
|---|
String[] viewLog()
throws Exception
Exception
String[] viewLog(long maxLines,
long maxChars)
throws Exception
maxLines - Maximum number of lines to include; non-positive numbers imply no limitmaxChars - Maximum number of characters to include; non-positive numbers imply no limit
Exception
void emailLog(String addressesOrEmailList,
String subject,
boolean compress)
throws Exception
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mailcompress - Whether to compress file attachment
Exception
void emailLog(String addressesOrEmailList,
String subject,
long maxLines,
long maxChars)
throws Exception
addressesOrEmailList - Comma-delimited list of e-mail addresses or name of e-mail list to send e-mail tosubject - Subject to give e-mailmaxLines - Maximum number of lines to include; non-positive numbers imply no limitmaxChars - Maximum number of characters to include; non-positive numbers imply no limit
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||