From 957df3d43d82cd2c98cf40f94b461ca31025d20b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 18 Jul 2008 16:27:02 -0400 Subject: [PATCH] add some logging darcs-hash:20080718202702-84dde-7a7e8223323c93cfae74f497cef1cf55e8a75c47.gz --- maildaemon.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maildaemon.php b/maildaemon.php index c48335fea5..e6a3456306 100755 --- a/maildaemon.php +++ b/maildaemon.php @@ -41,6 +41,7 @@ class MailerDaemon { if (!$from || !$to || !$msg) { $this->error(NULL, _t('Could not parse message.')); } + common_log(LOG_INFO, "Mail from $from to $to: " .substr($msg, 0, 20)); $user = User::staticGet('email', common_canonical_email($from)); if (!$user) { $this->error($from, _('Not a registered user.')); -- 2.39.5