IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 14, 2009, 11:12:04 AM (17 years ago)
Author:
jhoblitt
Message:

change 'log_level' param to 'trace'
refactor ->find_objects() functionality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/neb_distrib_20081210/Nebulous-Server/lib/Nebulous/Server/Config.pm

    r23537 r23854  
    3636
    3737my $new_validate = {
    38     log_level   => {
     38    trace       => {
    3939        type        => SCALAR,
    4040        optional    => 1,
    41         default     => 'all',
     41        default     => 'fatal',
    4242        callbacks   => {
    4343            'is valid level' => sub {
     
    6161
    6262    # normalize log levels to lower-case
    63     my $self ={ log_level => lc $p{ log_level } };
     63    my $self = { trace => $LEVELS{lc($p{trace})} };
    6464
    6565    bless $self, $class || ref $class;
Note: See TracChangeset for help on using the changeset viewer.