• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE logmap [
3<!ELEMENT logmap (log)+>
4<!ELEMENT log (#PCDATA)>
5<!ATTLIST log events CDATA #IMPLIED>
6<!ATTLIST log output CDATA #IMPLIED>
7<!ATTLIST log filename CDATA #IMPLIED>
8<!ATTLIST log generations CDATA #IMPLIED>
9<!ATTLIST log limit CDATA #IMPLIED>
10<!ATTLIST log format CDATA #IMPLIED>
11]>
12<!--
13  Configure ImageMagick logger.
14
15  Choose from one or more these events separated by a comma:
16    all
17    accelerate
18    annotate
19    blob
20    cache
21    coder
22    command
23    configure
24    deprecate
25    draw
26    exception
27    locale
28    module
29    none
30    pixel
31    policy
32    resource
33    trace
34    transform
35    user
36    wand
37    x11
38
39  Choose one output handler:
40    console
41    debug
42    event
43    file
44    none
45    stderr
46    stdout
47
48  When output is to a file, specify the filename.  Embed %g in the filename to
49  support log generations.  Generations is the number of log files to retain.
50  Limit is the number of logging events before generating a new log generation.
51
52  The format of the log is defined by embedding special format characters:
53
54    %c   client
55    %d   domain
56    %e   event
57    %f   function
58    %g   generation
59    %i   thread id
60    %l   line
61    %m   module
62    %n   log name
63    %p   process id
64    %r   real CPU time
65    %t   wall clock time
66    %u   user CPU time
67    %v   version
68    %%   percent sign
69    \n   newline
70    \r   carriage return
71    xml
72-->
73<logmap>
74  <log events="None"/>
75  <log output="console"/>
76  <log filename="Magick-%g.log"/>
77  <log generations="3"/>
78  <log limit="2000"/>
79  <log format="%t %r %u %v %d %c[%p]: %m/%f/%l/%d\n  %e"/>
80</logmap>
81