X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=doc%2Fyaz-log-man.xml;h=aa37be97e501f593414c5b3fa74f488d48acd828;hb=a643b7e1c8b5643c3b3f78fe845745705a305fe0;hp=2aaec9ce424ff48e26aee453c27960c5cbe40b49;hpb=a85807bde8a4a08706d266bd7dd089fb6778e281;p=yaz-moved-to-github.git
diff --git a/doc/yaz-log-man.xml b/doc/yaz-log-man.xml
index 2aaec9c..aa37be9 100644
--- a/doc/yaz-log-man.xml
+++ b/doc/yaz-log-man.xml
@@ -1,6 +1,6 @@
%local;
@@ -14,18 +14,18 @@
&version;Index Data
-
+
yaz-log7Conventions and miscellaneous
-
+
yaz-logLog handling in all yaz-based programs
-
+
yaz-XXXX
@@ -33,7 +33,7 @@
-
+
DESCRIPTION
All YAZ-based programs use a common log subsystem, and should support
@@ -43,9 +43,9 @@
-
+
OPTIONS
-
+
-l logfile
@@ -55,7 +55,7 @@
stderr is used. The log is appended to this file.
If the file grows overly large, it is silently rotated: It is renamed to
logfile.1,
- logfile.2, .., 9
+ logfile.2, .., 9
(old such file is deleted), and a
new file is opened. The limit defaults to 1GB, but can be set by the
program.
@@ -88,7 +88,7 @@
LOG LEVELS TO CONTROL LOGGING
- Some of the log levels control the way the log is written.
+ Some of the log levels control the way the log is written.
flush causes the log to be flushed after every write.
@@ -102,8 +102,8 @@
intended for automatic test scripts, which should produce predictable log
files that are easy to compare.
-
-
+
+ GENERAL LOG LEVELS IN YAZ ITSELF
@@ -123,7 +123,7 @@
levels (see below).
- all turns on almost all hard-coded log levels.
+ all turns on almost all hard-coded log levels.
loglevel logs information about the log levels used by
@@ -135,28 +135,28 @@
is to grep for yaz_log_module_level in the source
code, as in
- find . -name '*.[ch]' -print |
- xargs grep yaz_log_module_level |
+ find . -name '*.[ch]' -print |
+ xargs grep yaz_log_module_level |
grep '"' |
- cut -d'"' -f2 |
- sort -u
+ cut -d'"' -f2 |
+ sort -u
- eventl, malloc,
+ eventl, malloc,
nmem, odr are used internally for
debugging yaz.
-
+
LOG LEVELS FOR CLIENTSzoom logs the calls to the zoom API, which may be useful
in debugging client applications.
-
+
LOG LEVELS FOR SERVERS
@@ -231,9 +231,9 @@
14:45:41-23/11 yaz-ztest [requestdetail] Request to pack 1+1 1
14:45:41-23/11 yaz-ztest [requestdetail] pms=1048576, mrs=1048576
14:45:41-23/11 yaz-ztest [request] Present: [1] 1+1 OK 1 records returned
-
+
-
+
LOG FILENAME EXAMPLES
@@ -243,11 +243,11 @@
is depending on day, rotaion will occur on midnight.
- A weekly log could be specified as
+ A weekly log could be specified as
-l my_%Y%U.log.
-
+
FILESprefix/include/yaz/log.h
@@ -281,15 +281,7 @@