Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/examples/log4r_yaml.yaml b/examples/log4r_yaml.yaml
- index ab3005f..11b7ea6 100644
- --- a/examples/log4r_yaml.yaml
- +++ b/examples/log4r_yaml.yaml
- @@ -71,10 +71,14 @@ log4r_config:
- - type : EmailOutputter
- name : email
- level : FAT
- - server : localhost
- + server : smtp.gmail.com
- + port : '587'
- subject : 'Message from #{PN}:'
- - from : test@localhost
- - to : anhu@localhost
- + from : nitayj@gmail.com
- + to : nitayj@gmail.com
- + acct : nitayj@gmail.com
- + passwd : xxxxxx
- + authtype : plain
- immediate_at: FAT
- formatfirst : 'true'
- formatter :
- diff --git a/examples/yaml.rb b/examples/yaml.rb
- index 0d5072a..59c5d90 100644
- --- a/examples/yaml.rb
- +++ b/examples/yaml.rb
- @@ -25,6 +25,6 @@ def do_logging(log)
- end
- # turn off the email outputter
- -Outputter['email'].level = OFF
- +Outputter['email'].level = WRN
- # the other two outputters log to stderr and a timestamped file in ./logs
- do_logging( Logger['mylogger'])
Add Comment
Please, Sign In to add comment