In the file nodejs.module the logging is incorrect (and does not work).

The code used is like:

\Drupal::logger('nodejs')->error('nodejs', t('Error kicking uid "%uid" from the Node.js server. Server response: %error', array('%uid' => $uid, '%error' => $node_response->error)));

but should be:

\Drupal::logger('nodejs')->error(t('Error kicking uid ...

I did not make a patch because it is straightforward...

btw.: Thank you for the great module!

Comments

vurt created an issue. See original summary.

vurt’s picture

Issue summary: View changes

  • Gergely Lekli committed 34ceb73 on 8.x-1.x
    Issue #2652606 by vurt: \Drupal::logger() usage is wrong at some places
    
glekli’s picture

Status: Active » Fixed

Excellent catch. We must have not caught these because none of these errors occurred in a while. They are fixed now. Thanks for reporting.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.