You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/howto/logging-cookbook.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2950,7 +2950,7 @@ When run, this produces a file with exactly two lines:
2950
2950
.. code-block:: none
2951
2951
2952
2952
28/01/2015 07:21:23|INFO|Sample message|
2953
-
28/01/2015 07:21:23|ERROR|ZeroDivisionError: integer division or modulo by zero|'Traceback (most recent call last):\n File "logtest7.py", line 30, in main\n x = 1 / 0\nZeroDivisionError: integer division or modulo by zero'|
2953
+
28/01/2015 07:21:23|ERROR|ZeroDivisionError: division by zero|'Traceback (most recent call last):\n File "logtest7.py", line 30, in main\n x = 1 / 0\nZeroDivisionError: division by zero'|
2954
2954
2955
2955
While the above treatment is simplistic, it points the way to how exception
2956
2956
information can be formatted to your liking. The :mod:`traceback` module may be
0 commit comments