cristy | 3ed852e | 2009-09-05 21:47:34 +0000 | [diff] [blame] | 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 | The format of the log is defined by embedding special format characters: |
| 14 | |
| 15 | %c client |
| 16 | %d domain |
| 17 | %e event |
| 18 | %f function |
| 19 | %g generation |
| 20 | %i thread id |
| 21 | %l line |
| 22 | %m module |
| 23 | %n log name |
| 24 | %p process id |
| 25 | %r real CPU time |
| 26 | %t wall clock time |
| 27 | %u user CPU time |
| 28 | %v version |
| 29 | %% percent sign |
| 30 | \n newline |
| 31 | \r carriage return |
| 32 | --> |
| 33 | <logmap> |
| 34 | <log events="None"/> |
| 35 | <log output="console"/> |
| 36 | <log filename="Magick-%g.log"/> |
| 37 | <log generations="3"/> |
| 38 | <log limit="2000"/> |
| 39 | <log format="%t %r %u %v %d %c[%p]: %m/%f/%l/%d\n %e"/> |
| 40 | </logmap> |