Printing context to log in case of Exception and huge context pollutes log file

Issue #2 resolved
Alexander Novikov
created an issue

transform method of PoiTransformer prints full context to log file. If context is very large it pollutes the log file

Comments (3)

  1. LeonidV repo owner

    As I can see the context is printed only in the case of an error

    logger.error("Failed to write a cell with " + cellData + " and " + context, e);

    Are you referring to this particular line or to something else?

  2. Alexander Novikov reporter

    Yes, this one. Error message is good, but when you deal with large documents with large context, printing it to log file is not nice. Especially to one line. It's not readable in terminal at all.

  3. Log in to comment