Opened 10 years ago

Closed 10 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:
Cc:

Description

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 by olle, 10 years ago

Status: newassigned

Ticket accepted.

comment:2 by olle, 10 years ago

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 by olle, 10 years ago

(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 MailUtil.java 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 by olle, 10 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.