Opened 9 years ago

Closed 9 years ago

#610 closed enhancement (fixed)

Mail server prints debug output as default

Reported by: olle Owned by: olle
Priority: minor Milestone: LabEnv v1.2
Component: net.sf.basedb.labenv Keywords:


The mail server prints debug output as default, when sending alarm notification mails in LabEnv v1.1. This should be turned off, since the output is quite lengthy for each mail.

Change History (4)

comment:1 Changed 9 years ago by olle

Status: newassigned

Ticket accepted.

comment:2 Changed 9 years ago by olle

Traceability note:

  • The lab environment extension was introduced in Ticket #529 (Retrieve and store temperature and humidity measurements).
  • The lab environment extension was updated in Ticket #592 (Lab environment extension improved report routines), specifically regarding graphs of lab environment data for a chosen time interval, new time filters, and improved alarm functionality.

comment:3 Changed 9 years ago by olle

(In [2514]) Refs #610. Lab environment extension updated when sending alarm notification e-mails to not print debug output from the mail server as default:

  1. Class/file in src/net/sf/basedb/labenv/util/ updated in public method void sendMail(String smtpHost, String fromAddress, String fromName, String toAddress, String messageSubject, String messageBody) to set property "mail.debug" to "false" when creating a session for the mail server.

comment:4 Changed 9 years ago by olle

Resolution: fixed
Status: assignedclosed

Ticket closed since the mail server debug output has been turned off.

Note: See TracTickets for help on using tickets.