World Map
Java Service Wrapper is the easiest way to make your product more reliable.
  • Free Trial
  • Buy Now
wrapper.event.<event_name>.attach_log Property

wrapper.event.<event_name>.email.attach_log

Compatibility :3.4.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Enables sending a log file in the attachments of the Notification mails sent by the Wrapper.

The properties are all of the form wrapper.event.<x>.email* where "<x>" component is either the keyword "default", or one of the Event Types. Unlike the other event related properties, if you want to use the log file as attachment you have to activate this globally for the "default" event type. You can, however, use the different Event Types to deactivate sending the logfile for those events.

The default value is "FALSE".

Example (set the Wrapper to only send mails for jvm_killed but not jvm_prelaunch):
#enable the mail notification for 2 events
wrapper.event.jvm_killed.email=TRUE
wrapper.event.jvm_prelaunch.email=TRUE

#enabling log file attachment
wrapper.event.default.email.attach_log=TRUE

#disable log file attachment for jvm_prelaunch
wrapper.event.jvm_prelaunch.email.attach_log=FALSE

wrapper.event.default.email.maillog.lines

Compatibility :3.4.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Specifies the number of lines the log file sent in the attachments.

The default value is "50".

Example: (50 lines)
wrapper.event.default.email.maillog.lines=50

NOTE

Please note that, unlike the previous email properties, it is NOT possible to specify the numbers of lines for individual Event Types, only for the "default" case globally.

wrapper.event.default.email.maillog.format

Compatibility :3.4.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Defines the format of the log file in the attachments. The possible values are exactly the same as the console output format, the log file output format, etc.

The default value is "LPTM".

Example: (LPTM)
wrapper.event.default.email.maillog.format=LPTM

NOTE

Please note that, unlike the previous email properties, it is NOT possible to specify the format for individual Event Types, only for the "default" case globally.

wrapper.event.default.email.maillog.loglevel

Compatibility :3.4.0
Editions :Professional EditionStandard Edition (Not Supported)Community Edition (Not Supported)
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

Specifies the loglevel of the log file in the attachments. The possible values are exactly the same as the console output loglevel, the log file output loglevel, etc.

The default value is "INFO".

Example:
wrapper.event.default.email.maillog.loglevel=INFO

NOTE

Please note that, unlike the previous email properties, it is NOT possible to specify the loglevel for individual Event Types, only for the "default" case globally.

Reference: Event Mail