Hello!
I'm trying to support someone who's using tokenizer, which logs.
They're on a platform without Syslog support, and they reach the part of core which does Syslog access.
Perhaps they could set an ENV var, like:
- ENABLE_SYSLOG=false
- ENABLE_SYSLOG=no
- ENABLE_SYSLOG=off
- ENABLE_SYSLOG=0
But the code in this line: https://github.com/opener-project/core/blob/master/lib/opener/core/syslog.rb#L13 seems to expect "the empty string" to be false. (The empty string is not false in Ruby.)
Example, showing an "empty JUSTTESTING" environment variable to be "the empty string":
JUSTTESTING= ruby -e 'puts ENV.inspect'
Hello!
I'm trying to support someone who's using
tokenizer, which logs.They're on a platform without Syslog support, and they reach the part of
corewhich does Syslog access.Perhaps they could set an ENV var, like:
But the code in this line: https://github.com/opener-project/core/blob/master/lib/opener/core/syslog.rb#L13 seems to expect "the empty string" to be
false. (The empty string is not false in Ruby.)Example, showing an "empty JUSTTESTING" environment variable to be "the empty string":
JUSTTESTING= ruby -e 'puts ENV.inspect'