Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed Oct 4, 2024
1 parent 0166a07 commit f25017c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions doc/source/user_guide/chunking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,11 @@ when creating a Xorbits DataFrame or Array.
import numpy as np
import pandas as pd
import xorbits.numpy as xnp
import xorbits.pandas as xpd
a = xnp.ones((100, 100), chunk_size=30)
data = pd.DataFrame(
np.random.rand(10, 10), index=np.arange(10), columns=np.arange(3, 13)
)
Expand Down
4 changes: 2 additions & 2 deletions python/xorbits/deploy/oscar/file-logging.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ keys=stream_handler,file_handler
keys=formatter

[logger_root]
level=DEBUG
level=WARN
handlers=stream_handler,file_handler

[logger_main]
Expand Down Expand Up @@ -98,7 +98,7 @@ propagate=0
[handler_stream_handler]
class=StreamHandler
formatter=formatter
level=DEBUG
level=WARN
args=(sys.stderr,)

[handler_file_handler]
Expand Down

0 comments on commit f25017c

Please sign in to comment.