Skip to content

Commit 74c3235

Browse files
committed
add PROJ_DEBUG levels
1 parent 28649fa commit 74c3235

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

en/optimization/debugging.txt

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
:Author: Jeff McKenna
1111
:Contact: jmckenna at gatewaygeomatics.com
12-
:Last Updated: 2025-08-02
12+
:Last Updated: 2025-10-05
1313

1414
.. contents:: Table of Contents
1515
:depth: 3
@@ -355,7 +355,26 @@ such as:
355355
END
356356
END
357357

358-
.. NOTE::
358+
Since the PROJ 9.3.0 release, there are 4 levels that you can set to
359+
increase the information returned from `PROJ_DEBUG`, such as:
360+
361+
**Level 0**
362+
No message (PROJ_DEBUG 0)
363+
364+
**Level 1**
365+
Error messages only (PROJ_DEBUG 1)
366+
367+
**Level 2**
368+
Same as level 1, but with debug messages. Setting `"PROJ_DEBUG" "ON"`
369+
is an alias to this level 2. (PROJ_DEBUG 2)
370+
371+
**Level 3**
372+
Same as level 2, with verbose messages (PROJ_DEBUG 3)
373+
374+
**Level 4**
375+
Same as level 3, with very verbose messages (PROJ_DEBUG 4)
376+
377+
.. TIP::
359378
You can set *"CPL_DEBUG" "PROJ"* to restrict the information returned to PROJ
360379
(and not GDAL in general)
361380

0 commit comments

Comments
 (0)