-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification #11
Comments
Hi, there is notification levels: For more logging you also can switch logger to debug (something like this): Eye.config do
mail domain: 'mailer.xxx.org', host: 'mailer.xxx.org', port: 25, from_mail: 'eye@xxx.com', from_name: 'Eye'
contact :dev, :mail, 'dev@xxx.com'
logger "/tmp/1.log"
logger_level Logger::DEBUG
end
Eye.application 'app' do
notify :dev, :info
process :process do
end
end not need to write notify everywhere, because all options by default inherited. |
Thanks @kostya I also configured similar to your suggestion with level but still cannot get any emails. I tested by https://github.com/kostya/eye/blob/master/lib/eye/notify.rb#L58 Anywhere should I look into? |
hm hard to say. mail notify works fine for me. seems needed to add more debug messages (from https://github.com/kostya/eye/blob/master/lib/eye/process/notify.rb#L10). you can try it with examples/ folder locally. |
you can also ensure that your config correct |
Thanks @kostya for the |
Sorry for posting a question here, let me know if you have a group or mailing list.
I have playing with eye for a while but couldn't make email notification work. We already have a :smpt server running so our configuration is very simple.
I cannot see anything from the log? Additionally, when is
notify :dev
triggered?Many thanks.
The text was updated successfully, but these errors were encountered: