Changeset 826 for pykota/trunk
- Timestamp:
- 02/28/03 00:59:28 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pykota
r825 r826 17 17 # 18 18 # $Log$ 19 # Revision 1.13 2003/02/27 23:59:28 jalet 20 # Stupid bug wrt exception handlingand value conversion 21 # 19 22 # Revision 1.12 2003/02/27 23:48:41 jalet 20 23 # Correctly maps PyKota's log levels to syslog log levels … … 124 127 except PyKotaRequesterError, msg : 125 128 # can't get actual page counter, assume printer is off, but warns in log 126 kotafilter.logger.log_message( msg, "warn")129 kotafilter.logger.log_message("%s" % msg, "warn") 127 130 printerIsOff = 1 128 131 else : … … 134 137 # The printer is unknown from the Quota Storage perspective 135 138 # we let the job pass through, but log a warning message 136 kotafilter.logger.log_message(_("Printer %s not registered in the PyKota system") % kotafilter.printername )139 kotafilter.logger.log_message(_("Printer %s not registered in the PyKota system") % kotafilter.printername, "warn") 137 140 else : 138 141 # get last values from Quota Storage