Project

General

Profile

Actions

Defect #7367

closed

Receiving pop3 email should not output debug messages

Added by mcfedr mcfedr about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2011-01-19
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

the pop3 email checker always produces output, even with the --silent flag sent to rake
this line is in my crontab
rake -f /var/www/redmine/Rakefile --silent redmine:email:receive_pop3 RAILS_ENV="production" host=*** username=*** password=*** delete_unprocessed=1

and it sends an email every 5 mins telling me that no email was processed

running ruby 1.8.7
rails 2.3.5
on ubuntu 10.04


Related issues

Related to Redmine - Patch #7177: Make POP3 mail fetcher log messages instead of putsClosed2010-12-27

Actions
Actions #1

Updated by andra lungu about 13 years ago

Try adding ">/dev/null 2>&1" at the end of the line.
For further info google for cron disable email notifications.

Actions #2

Updated by mcfedr mcfedr about 13 years ago

Preferably the regular messages would not be printed on stdout, and so silent, but error messages would be on stderr which i assume is still printed, >/dev/null 2>&1 will stop me getting notifications of errors

Actions #3

Updated by Jean-Philippe Lang about 13 years ago

  • Subject changed from Receiving pop3 email to Receiving pop3 email should not output debug messages
  • Status changed from New to Closed
  • Target version set to 1.2.0
  • Resolution set to Fixed

This should be fixed by r4737. Debug messages are now logged instead of sent to the standard output.

Actions

Also available in: Atom PDF