Skip to content

Commit 2a338d1

Browse files
committed
TIKA-4742 -- address copilot's feedback
1 parent 8209969 commit 2a338d1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/modules/ROOT/pages/pipes/troubleshooting.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ so you can read the interleaved output:
7777

7878
* `pipesClientId=N` -- *the same value on both sides of a pair*. The
7979
parent's `PipesClient #N` always connects to the fork running with
80-
`-DpipesClientId=N`, so the same N threads correlation across the
80+
`-DpipesClientId=N`, so the same N enables correlation across the
8181
process boundary. Use it to gather every log line about one
8282
conversation, regardless of which side emitted them.
8383

tika-pipes/tika-pipes-plugins/tika-pipes-jdbc/src/main/java/org/apache/tika/pipes/emitter/jdbc/JDBCEmitter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ String normalize(String emitKey, String columnName, String s, int maxLength) {
444444
if (maxLength < 0 || s.length() <= maxLength) {
445445
return s;
446446
}
447-
LOGGER.warn("truncating {}->'{}' from {} chars to {} chars",
448-
emitKey, columnName, s.length(), maxLength);
447+
LOGGER.warn("truncating column '{}' from {} chars to {} chars",
448+
columnName, s.length(), maxLength);
449449
return s.substring(0, maxLength);
450450
}
451451
}

0 commit comments

Comments
 (0)