Changeset 824 for pykota/trunk/bin
- Timestamp:
- 02/27/03 23:55:20 (22 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r820 r824 17 17 # 18 18 # $Log$ 19 # Revision 1.23 2003/02/27 22:55:20 jalet 20 # WARN log priority doesn't exist. 21 # 19 22 # Revision 1.22 2003/02/27 09:37:02 jalet 20 23 # Wildcards seem to work now … … 209 212 if (softlimit is not None) and (hardlimit is not None) and (hardlimit < softlimit) : 210 213 # 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") 212 215 (softlimit, hardlimit) = (hardlimit, softlimit) 213 216 if not names : -
pykota/trunk/bin/pykota
r823 r824 17 17 # 18 18 # $Log$ 19 # Revision 1.11 2003/02/27 22:55:20 jalet 20 # WARN log priority doesn't exist. 21 # 19 22 # Revision 1.10 2003/02/27 22:43:21 jalet 20 23 # Missing import … … 118 121 except PyKotaRequesterError, msg : 119 122 # 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") 121 124 printerIsOff = 1 122 125 else : … … 128 131 # The printer is unknown from the Quota Storage perspective 129 132 # 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") 131 134 else : 132 135 # get last values from Quota Storage