From 5ab5f74d937aec6ec982b23a1b6821b9b975ef77 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 12 Oct 2006 16:53:04 +0000 Subject: [PATCH] Add comments on logging levels. (This should really be in the IRSpy.pm POD) --- bin/irspy.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/irspy.pl b/bin/irspy.pl index afdb43a..2d7c276 100755 --- a/bin/irspy.pl +++ b/bin/irspy.pl @@ -1,9 +1,16 @@ #!/usr/bin/perl -w -# $Id: irspy.pl,v 1.12 2006-10-11 16:43:32 mike Exp $ +# $Id: irspy.pl,v 1.13 2006-10-12 16:53:04 mike Exp $ # # Run like this: # YAZ_LOG=irspy,irspy_test,irspy_debug,irspy_event perl -I ../lib irspy.pl -t Main localhost:3313/IR-Explain---1 bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager bagel.indexdata.dk:210/marc +# Available log-levels are as follows: +# irspy -- high-level application logging +# irspy_debug -- low-level debugging (not very interesting) +# irspy_event -- invocations of ZOOM_event() and individual events +# irspy_unhandled -- unhandled events (not very interesting) +# irspy_test -- adding, queueing and running tests +# irspy_task -- adding, queueing and running tasks use strict; use warnings; -- 1.7.10.4