Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
YarShev authored Apr 22, 2024
1 parent ee00788 commit f9a1e53
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/usage_guide/advanced_usage/modin_logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ 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.
By default when logging is enabled in modin both high level and low level functionality are logged. 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.
In Modin the lower-level functionality is logged in debug level, and higher level functionality in info level.
By default when logging is enabled in Modin, both high level and low level functionality are logged.
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.

.. code-block:: python
Expand All @@ -57,7 +58,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 f9a1e53

Please sign in to comment.