X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-log-man.xml;h=abf9ccf69e4f8a9769501db624fbc607fe24b2c6;hb=0e6a432e1be3ac44fba55abd19a62fc294b2fcf7;hp=151097726790a2c5b57aed09cbe8681b742631c2;hpb=d940392c53c32ccf76fb287cc5b997b9e921a431;p=yaz-moved-to-github.git
diff --git a/doc/yaz-log-man.xml b/doc/yaz-log-man.xml
index 1510977..abf9ccf 100644
--- a/doc/yaz-log-man.xml
+++ b/doc/yaz-log-man.xml
@@ -1,6 +1,6 @@
-
%local;
@@ -12,18 +12,20 @@
YAZ&version;
+ Index Data
-
+
yaz-log7
+ Conventions and miscellaneous
-
+
yaz-logLog handling in all yaz-based programs
-
+
yaz-XXXX
@@ -31,7 +33,7 @@
-
+
DESCRIPTION
All YAZ-based programs use a common log subsystem, and should support
@@ -41,9 +43,9 @@
-
+
OPTIONS
-
+
-l logfile
@@ -53,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.
@@ -86,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.
@@ -100,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
@@ -121,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
@@ -133,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
@@ -229,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
@@ -241,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