~ubuntu-branches/ubuntu/intrepid/graphicsmagick/intrepid

« back to all changes in this revision

Viewing changes to config/log.mgk

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-05-06 16:28:08 UTC
  • Revision ID: james.westby@ubuntu.com-20060506162808-vt2ni3r5nytcszms
Tags: upstream-1.1.7
ImportĀ upstreamĀ versionĀ 1.1.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!--
 
3
 
 
4
                 GraphicsMagick Logging Configuration File
 
5
 
 
6
The following options are available:
 
7
 
 
8
  o events
 
9
      annotate       Text annotation events.
 
10
      blob           File opening/closing/loading events.
 
11
      cache          Pixel cache events.
 
12
      coder          File format coder events.
 
13
      configure      Configuration events (searching for .mgk files, etc.).
 
14
      deprecate      Identify use of deprecated functions.
 
15
      error          Error exception report events.
 
16
      exception      Exception report events (warning and error).
 
17
      locale         Locale events.
 
18
      none           Reporting disabled.
 
19
      render         Rendering (drawing) events.
 
20
      resource       Resource allocation events (memory, disk, etc.)
 
21
      temporaryFile  Temporary file events (allocate, deallocate, etc.)
 
22
      transform      Image processing events.
 
23
      user           User events (not emitted by GraphicsMagick).
 
24
      warning        Warning exception report events.
 
25
      X11            X11 server events.
 
26
 
 
27
  o output
 
28
      none           Reporting disabled.
 
29
      disabled       Reporting disabled.
 
30
      stdout         Log to stdout in "human readable" format
 
31
      stderr         Log to stderr in "human readable" format
 
32
      xmlfile        Log to a file in an XML format
 
33
      txtfile        Log to a file in a text format
 
34
      win32debug     Windows, Output events to the application/system debugger.
 
35
      win32eventlog  Windows, Output events to the Application event log.
 
36
 
 
37
  o Filename - Use specified filename if output to a file is selected.
 
38
    Place a %d in the file name in order to support multiple log generations.
 
39
 
 
40
  o Generations - Number of log files to maintain before circulating back to
 
41
      the first name.
 
42
 
 
43
  o Limit - Maximum number of logging events before creating a new log file.
 
44
 
 
45
  o Format - Format of logging output
 
46
 
 
47
      You can display the following components by embedding
 
48
      special format characters:
 
49
 
 
50
        %d   domain
 
51
        %e   event
 
52
        %f   function
 
53
        %l   line
 
54
        %m   module
 
55
        %p   process ID
 
56
        %r   real CPU time
 
57
        %t   wall clock time
 
58
        %u   user CPU time
 
59
        %%   percent sign
 
60
        \n   newline
 
61
        \r   carriage return
 
62
 
 
63
 -->
 
64
<magicklog>
 
65
  <log events="None" />
 
66
  <log output="stdout" />
 
67
  <log filename="Magick-%d.log" />
 
68
  <log generations="3" />
 
69
  <log limit="2000" />
 
70
  <log format="%t %r %u %p %m/%f/%l/%d:\n  %e"  />
 
71
</magicklog>