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

Is there an option to disable this warning [main] WARN org.osgl.xls.ExcelReader - column index not fully built on sheet #23

Open
motivatedmind opened this issue Oct 20, 2020 · 2 comments

Comments

@motivatedmind
Copy link

Hi, I understand that this warning is thrown if number of columns in excel don't match with fields in pojo.
I have a pojo that has fields more than the columns in excel sheet. I have a situation where in after converting excel sheet to pojo I set few extra fields. As I have many sheets in a work book, this warning is thrown huge number of times.

I was looking for an option if I can disable this warning?

[main] WARN org.osgl.xls.ExcelReader - column index not fully built on sheet

@greenlaw110
Copy link
Contributor

@motivatedmind No option at the moment to disable that warning. You probably can configure your log level for ExcelReader so it does not show any WARNING messages in your console.

@motivatedmind
Copy link
Author

I configured my log4j2.xml as below but no luck.

<Loggers> <Root level="info"> <AppenderRef ref="Console"/> <AppenderRef ref="MyFile"/> </Root> <Logger name="org.osgl.xls.ExcelReader" level="OFF"> <AppenderRef ref="Console"/> </Logger> </Loggers>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants