Changeset 824 for pykota/trunk/bin

Show
Ignore:
Timestamp:
02/27/03 23:55:20 (22 years ago)
Author:
jalet
Message:

WARN log priority doesn't exist.

Location:
pykota/trunk/bin
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r820 r824  
    1717# 
    1818# $Log$ 
     19# Revision 1.23  2003/02/27 22:55:20  jalet 
     20# WARN log priority doesn't exist. 
     21# 
    1922# Revision 1.22  2003/02/27 09:37:02  jalet 
    2023# Wildcards seem to work now 
     
    209212        if (softlimit is not None) and (hardlimit is not None) and (hardlimit < softlimit) :         
    210213            # error, exchange them 
    211             self.logger.log_message(_("Hard limit %i is less than soft limit %i, values will be exchanged.") % (hardlimit, softlimit), "warn") 
     214            self.logger.log_message(_("Hard limit %i is less than soft limit %i, values will be exchanged.") % (hardlimit, softlimit), "info") 
    212215            (softlimit, hardlimit) = (hardlimit, softlimit) 
    213216        if not names :     
  • pykota/trunk/bin/pykota

    r823 r824  
    1717# 
    1818# $Log$ 
     19# Revision 1.11  2003/02/27 22:55:20  jalet 
     20# WARN log priority doesn't exist. 
     21# 
    1922# Revision 1.10  2003/02/27 22:43:21  jalet 
    2023# Missing import 
     
    118121    except PyKotaRequesterError, msg : 
    119122        # can't get actual page counter, assume printer is off, but warns in log 
    120         kotafilter.logger.log_message(msg, "warn") 
     123        kotafilter.logger.log_message(msg, "err") 
    121124        printerIsOff = 1 
    122125    else :     
     
    128131        # The printer is unknown from the Quota Storage perspective 
    129132        # we let the job pass through, but log a warning message 
    130         kotafilter.logger.log_message(_("Printer %s not registered in the PyKota system") % kotafilter.printername, "warn") 
     133        kotafilter.logger.log_message(_("Printer %s not registered in the PyKota system") % kotafilter.printername, "info") 
    131134    else :     
    132135        # get last values from Quota Storage