プロジェクト

全般

プロフィール

Vote #69019

完了

Receiving pop3 email should not output debug messages

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
開始日:
2011/01/19
期日:
進捗率:

0%

予定工数:
category_id:
0
version_id:
27
issue_org_id:
7367
author_id:
24225
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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


journals

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

--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
This should be fixed by r4737. Debug messages are now logged instead of sent to the standard output.
--------------------------------------------------------------------------------


related_issues

relates,Closed,7177,Make POP3 mail fetcher log messages instead of puts

Admin Redmine さんが3年以上前に更新

  • 対象バージョン1.2.0_27 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0