1. leonate NA
  2. jxls-poi
  3. Issues

Issues

Issue #2 resolved

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

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. leonate NA 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