Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silent the Log #41

Open
awambua opened this issue Jun 18, 2022 · 1 comment
Open

Silent the Log #41

awambua opened this issue Jun 18, 2022 · 1 comment
Labels

Comments

@awambua
Copy link

awambua commented Jun 18, 2022

How can we hide the debug information?
WARN -
DEBUG - .plot command: ret_d5fad269_b908_46b6_a2c5_8db1d9324b90 = plt.plot(np.array([1.3, 2]),ls="--",label="label")
DEBUG - .plot command: ret_6cbf1622_cc7f_4e60_b218_89a6cd7f6ce0 = plt.xlabel("xlabel")
DEBUG - .plot command: ret_d9b9473a_f2bd_4469_b29f_4951571c07d5 = plt.ylabel("ylabel")
DEBUG - .plot command: ret_d3d4a5f1_2e0b_4f41_ba2c_a54af0b9f40b = plt.text(0.5,0.2,"text")
DEBUG - .plot command: plt.title("Title!")
DEBUG - .plot command: ret_cf3e8a3e_f9a0_4e5e_ab8f_e8b95096d8d1 = plt.legend()

@sh0nk
Copy link
Owner

sh0nk commented Jun 20, 2022

@awambua
You can change this log level to INFO to eliminate DEBUG level logs. https://github.com/sh0nk/matplotlib4j/blob/master/src/main/resources/log4j.properties#L3

@sh0nk sh0nk added the question label Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants