Skip to content

Commit

Permalink
Fix logging statements (openhab#16989)
Browse files Browse the repository at this point in the history
* Fix logging statement

Signed-off-by: logresearch <log.researchovo@gmail.com>
  • Loading branch information
logresearch authored and matchews committed Oct 18, 2024
1 parent 1b72353 commit 66db8d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private class DigiplexReceiverThread extends Thread {

@Override
public void run() {
logger.debug("Receiver thread started");
logger.debug("Starting receiver thread");
while (!interrupted()) {
try {
Optional<String> message = readLineBlocking();
Expand Down Expand Up @@ -360,7 +360,7 @@ public DigiplexSenderThread(OutputStream stream) {

@Override
public void run() {
logger.debug("Sender thread started");
logger.debug("Starting sender thread");
while (!interrupted()) {
try {
DigiplexRequest request = sendQueue.take();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void dispose() {
@Override
public void handleCommand(ChannelUID channelUID, Command command) {
if (command instanceof RefreshType) {
logger.debug("Intellflo received refresh command");
logger.debug("IntelliFlo received refresh command");
updateChannel(channelUID.getId(), null);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public void onError(Throwable error) {

private void sendMessage(String str) throws IOException {
if (isConnected()) {
logger.debug("send message fo {}: {}", uri.toString(), str);
logger.debug("send message for {}: {}", uri.toString(), str);
session.getRemote().sendString(str);
} else {
String stack = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected void initCipher(byte[] bArr, byte[] bArr2) throws Exception {
encodeCipher.init(1, secretKeySpec, ivParameterSpec);
decodeCipher.init(2, secretKeySpec, ivParameterSpec);
} catch (Exception e) {
logger.warn("initChiper failed: {}", e.getMessage());
logger.warn("initCipher failed: {}", e.getMessage());
encodeCipher = null;
decodeCipher = null;
}
Expand Down

0 comments on commit 66db8d5

Please sign in to comment.