Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Iaroslav Igoshev <Poolliver868@mail.ru>
  • Loading branch information
arunjose696 and YarShev authored Apr 22, 2024
1 parent 12a013a commit 1dabb1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage_guide/advanced_usage/modin_logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Disable Modin logging like so:
# User code goes here
In modin the lower-level functionality is logged in debug level, and higher level functionality in info level.
In Modin the lower-level functionality is logged in debug level, and higher level functionality in info level.
The below example script could be used to switch between logging all functions vs only logging higher level functions.
Setting logger level to logging.INFO logs only higher level functions.
Setting logger level to ``logging.INFO`` logs only higher level functions.

.. code-block:: python
Expand All @@ -57,7 +57,7 @@ Setting logger level to logging.INFO logs only higher level functions.
logger = get_logger()
logger.setLevel(logging.INFO) # Replace with logger.setLevel(logging.DEBUG) for lower level logs
df = pd.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
df = pd.concat([df,df])
df = pd.concat([df, df])
Debugging from user defined functions:
Expand Down

0 comments on commit 1dabb1e

Please sign in to comment.