0706dc0 Restore default log level in server to INFO

3 files Authored by jdennis 12 years ago, Committed by simo 12 years ago,
    Restore default log level in server to INFO
    
    The default log level for server messages captured by httpd's
    error_log historically was INFO. The log_manager patch had it set to
    ERROR, this patch resets it back to INFO.
    
    Although it would have been trival to set the default_level to INFO in
    IPALogManager.configure_from_env() that is not logically the correct
    place. It would be much better if the default_level can be reset by
    simply assigning it to the log_mgr. To accomplish that
    LogManager.default_level was converted to a property with a getter and
    setter. The setter runs LogManager.apply_configuratin() after the
    default_level is modified. LogManager.set_default_level() was also
    added to allow simultaneously updating the configure_state.
    
    While testing some minor problems were observed and also fixed:
    
    * Removed some print statement which had been left in by mistake
    
    * Removed the ability to set the handler level in the config file
      because of chicken-and-egg issues of when handlers get created.
      The Env config file format is too inflexible to support detailed
      logging configuration. If the Env config format is ever made more
      flexible we can come back and add this back in. The handler config
      setting in Env had never been used and never worked so there is no
      issue in removing it.
    
        
file modified
+1 -0
file modified
+0 -47
file modified
+39 -4