<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006>>> <FONT face="Times New Roman" color=#000000
size=3>I was thinking that we should set our default log ouput to info.
</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=126145723-19062006>>> <FONT face="Times New Roman"
color=#000000 size=3>If you agree, what do I change to make this
happen?</FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006>Yes, agree. Actually, I'd even say change default
level to WARN, with maybe INFO used for development.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff size=2>All we
should have to do is fiddle the init expression in Configuration#initialize at
line 489:</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>
self.log_level = nil # use the default level of the logger</FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=126145723-19062006>to,
say:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006> self.log_level =
(self.environment == 'development') ? 'INFO' : 'WARN'</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=126145723-19062006></SPAN></FONT><FONT face=Arial color=#0000ff
size=2></FONT> </DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff size=2>(and
fix the rdoc comment and doc/configuration.html)</FONT></SPAN></DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff size=2>And
then extras/init_logger.rb should take care of the rest. If the config has
a value specified for log_level, it installs it; if log_level is nil, it leaves
whatever the configured logger has as its default alone.</FONT></SPAN></DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=126145723-19062006><FONT face=Arial color=#0000ff size=2>~
Deb</FONT></SPAN></DIV></BODY></HTML>